build_platform
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
→Plugins
to open aPlugins
dialog. -
Select the
Available Plugins
tab. -
Sort the plugin list by category.
-
Check the
Install
checkbox for any plugins in theDeveloping NetBeans
category. -
Click on the
Install
button and complete the wizard. -
Select the
Installed
tab. -
Activate any inactive plugins in the
Developing NetBeans
category. -
Close the
Plugins
dialog.
Checkout
-
From the menu bar, select
Team
→Git
→Clone
to open aClone Repository
dialog. -
In the
Repository URL:
textbox, typehttps://github.com/jMonkeyEngine/jmonkeyengine
. -
Clear the
User:
andPassword:
textboxes. -
Click on the
Next
button. -
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 Folder
dialog. -
Select an empty or non-existent directory (folder) where you want to save the jMonkeyEngine sources on your hard drive.
-
Click the
Finish
button.
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 Project
dialog. -
Highlight the free-form project folder you used for checkout and click on the
Open Project
button.-
A new free-form project named
jME3-SDK
should appear in the SDK’sProjects
window.
-
-
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 Project
dialog. -
Browse into the free-form project folder, highlight the
sdk
node, and click on theOpen Project
button.-
A number of new projects should appear in the SDK’s
Projects
window.
-
Building the main freeform project copies the jME3 libraries to the sdk, so you should run its build script each time jME3 changes.