Building jMonkeyEngine SDK Yourself
In the jMonkeyEngine SDK or NetBeans
Plugins
Make sure all necessary plugins are installed and active:
From the menu bar, select
Tools→Pluginsto open aPluginsdialog.Select the
Available Pluginstab.Sort the plugin list by category.
Check the
Installcheckbox for any plugins in theDeveloping NetBeanscategory.Click on the
Installbutton and complete the wizard.Select the
Installedtab.Activate any inactive plugins in the
Developing NetBeanscategory.Close the
Pluginsdialog.
Checkout
From the menu bar, select
Team→Git→Cloneto open aClone Repositorydialog.In the
Repository URL:textbox, typehttps://github.com/jMonkeyEngine/jmonkeyengine.Clear the
User:andPassword:textboxes.Click on the
Nextbutton.Choose the remote branch, typically “master, and click the Next button.
Click on the
Browse…button to the right of theParent directory:textbox to open aBrowse Local Folderdialog.Select an empty or non-existent directory (folder) where you want to save the jMonkeyEngine sources on your hard drive.
Click the
Finishbutton.
Project checkout may take awhile. Do not proceed before the task is complete.
Build
On the commandline:
cd jmonkeyengine./gradlew build
From the SDK:
From the menu bar, select
File→Open project…to open anOpen Projectdialog.Highlight the free-form project folder you used for checkout and click on the
Open Projectbutton.A new free-form project named
jME3-SDKshould appear in the SDK’sProjectswindow.
Build the free-form project by right-clicking on it and selecting
Build.Wait until the
jME3-SDK (build)task is complete. At one point, a web browser window may open.From the menu bar, select
File→Open project…to open anOpen Projectdialog.Browse into the free-form project folder, highlight the
sdknode, and click on theOpen Projectbutton.A number of new projects should appear in the SDK’s
Projectswindow.
Building the main freeform project copies the jME3 libraries to the sdk, so you should run its build script each time jME3 changes.
Run
In the SDK’s
Projectswindow, right-click on thejMonkeyEngine SDKproject and selectRun.The SDK you just built will start executing in a new window.