2
0

The jMonkeyEngine3 Software Development Kit based on Netbeans

MeFisto94 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
.github 1faaef7802 Fix Release Drafter Config 5 жил өмнө
BasicGameTemplate 32650c8b0d Added new exclude formats (#196) 6 жил өмнө
JME3TestsTemplate f51501f0c3 Add proper `assets` folder for the tests because the build fails otherwise. Used `.keep` files, so git tracks the empty folders. 8 жил өмнө
JME3TestsTemplateAndroid f00da22500 Proguard Exception for NativeVorbisFile (https://hub.jmonkeyengine.org/t/solved-jni-exception-when-trying-to-use-ogg-files-on-android/39362/12) 7 жил өмнө
ant-jme d7a7096e45 Updated build stuff 5 жил өмнө
ant-lib 001396958a - fix wiki download ant scripts 10 жил өмнө
branding 8cc0b0c1ca Update & fix copyright 5 жил өмнө
debscripts fbeb17e033 move sdk to trunk 14 жил өмнө
docs 56794c6a57 Upgrade NBI Installer Stubs to allow the Installer to work with JDKs > 8 5 жил өмнө
gradle 8c4900a6fb Update Gradle 4.10.2 -> 5.6.4 5 жил өмнө
harness-override 00eaa223f2 Upgrade to Netbeans 11.3 and also upgrade the harness overrides 5 жил өмнө
jdks c9e86f3442 Bump JDK Version to 11.0.6 5 жил өмнө
jme3-android 97bf295892 Fix build by specifying a dependency on JAX-WS API (for Annotations). Also upgraded the source level straight to java 10 (as java 6 is now deprecated and pointless). Also took the chance and updated the "jme" version to 3.3.0 (which used to be 3.2.0 for all the project.xmls) 6 жил өмнө
jme3-angelfont 97bf295892 Fix build by specifying a dependency on JAX-WS API (for Annotations). Also upgraded the source level straight to java 10 (as java 6 is now deprecated and pointless). Also took the chance and updated the "jme" version to 3.3.0 (which used to be 3.2.0 for all the project.xmls) 6 жил өмнө
jme3-assetpack-support b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-behaviortrees 966ac6f396 Fix simple BTree Example/Template File 6 жил өмнө
jme3-blender 97bf295892 Fix build by specifying a dependency on JAX-WS API (for Annotations). Also upgraded the source level straight to java 10 (as java 6 is now deprecated and pointless). Also took the chance and updated the "jme" version to 3.3.0 (which used to be 3.2.0 for all the project.xmls) 6 жил өмнө
jme3-cinematics b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-code-check 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-codepalette b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-core 0766c16095 Gradle: Make the ProjectAssetManager work and expose the "Assets" Folder under the Project Dialog. 5 жил өмнө
jme3-core-baselibs b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-core-libraries 97bf295892 Fix build by specifying a dependency on JAX-WS API (for Annotations). Also upgraded the source level straight to java 10 (as java 6 is now deprecated and pointless). Also took the chance and updated the "jme" version to 3.3.0 (which used to be 3.2.0 for all the project.xmls) 6 жил өмнө
jme3-core-updatecenters b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-dark-laf 97bf295892 Fix build by specifying a dependency on JAX-WS API (for Annotations). Also upgraded the source level straight to java 10 (as java 6 is now deprecated and pointless). Also took the chance and updated the "jme" version to 3.3.0 (which used to be 3.2.0 for all the project.xmls) 6 жил өмнө
jme3-desktop-executables 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-documentation b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-glsl-highlighter b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-gui b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-ios 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-lwjgl-applet 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-materialeditor b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-model-importer b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-navmesh-gen b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-obfuscate 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-ogretools 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-ogrexml 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-project-baselibs 97bf295892 Fix build by specifying a dependency on JAX-WS API (for Annotations). Also upgraded the source level straight to java 10 (as java 6 is now deprecated and pointless). Also took the chance and updated the "jme" version to 3.3.0 (which used to be 3.2.0 for all the project.xmls) 6 жил өмнө
jme3-project-libraries b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-project-testdata b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-scenecomposer 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-templates b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-terrain-editor b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-tests-template b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-texture-editor b6848c867a Revert "Source level 11" 5 жил өмнө
jme3-vehicle-creator 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-wavefront 0751ec3b87 Upgrade Source Versions to Java 10, as we did that for the Core Module and thus all dependent modules need that as well. 5 жил өмнө
jme3-welcome-screen 170f0115a5 Welcome Screen: Commented out code that was part of sun internal apis which has been removed 6 жил өмнө
lib 4b08593f66 Fixes #61, Maybe Fixes #53 and others: Re-Added Missing JBullet Runtime Dependencies 9 жил өмнө
nbi 77898cde13 Added a Readme explaning a bit about JDK Packaging, which I just found in my working dir, which got lost a long time ago. 5 жил өмнө
nbproject f13a97a937 Try to fix build by using the configuration suggested by @tonihele 5 жил өмнө
patches e2e7e74dc4 Fixes only work when you don't forget to commit half of them 7 жил өмнө
resources 628c3e20d8 Added splash screen source files to help #223 5 жил өмнө
.gitignore d7a7096e45 Updated build stuff 5 жил өмнө
.travis.yml 2fb83b84b1 Removed some deprecated travis stuff 5 жил өмнө
build.gradle b3508bbfbb Use https version of jcenter, as the http version has been dropped 5 жил өмнө
build.xml dd83ec3d8d Fix Regression from 7f748feca5d8b684074fd5fdf5895827610a650b 5 жил өмнө
build_engine.sh 70626cd22c Fix 3.3 related build breakage 5 жил өмнө
fix_engine.sh 698a289db3 Since we don't use mavenLocal anymore, we don't need to fix the POM 5 жил өмнө
gradle.properties 00eaa223f2 Upgrade to Netbeans 11.3 and also upgrade the harness overrides 5 жил өмнө
gradlew 8c4900a6fb Update Gradle 4.10.2 -> 5.6.4 5 жил өмнө
gradlew.bat 8c4900a6fb Update Gradle 4.10.2 -> 5.6.4 5 жил өмнө
jmonkeyplatform.icns 99bae6200e - update SDK OSX icon 10 жил өмнө
jmonkeyplatform.png 522fd1ed8b sdk: use a high resolution icon 10 жил өмнө
license-jme.txt 970c31b207 Updating License File 9 жил өмнө
licenses-sdk.txt 0aa4dc7c9b Fixes #55 Old Installer License Year. 9 жил өмнө
readme.md 089a21a700 Initial step towards Engine Version 3.2 8 жил өмнө
settings.gradle d01a0fc583 Fix Regression from 4221ce9b9f231a6c4e45f29a0c5393245dfa5ee0 - Forgot to add settings.gradle to enable the Composing Builds 5 жил өмнө
version.gradle 1d02a1688e Fix warnings/errors when extracting the version string 6 жил өмнө

readme.md

jMonkeyEngine Software Development Kit (SDK) Build Status

Welcome to the repository of the jMonkeyEngine Software Development Kit (SDK). This SDK simplifies developing 3D Applications with the jMonkeyEngine. It contains everything ever needed to develop a full application.

Our SDK (or jmonkeyplatform) is based on the Netbeans IDE but includes additional features like:

  • A Scene Editor (SceneExplorer: Preview your scene, adjust all positions, add Controls and AppStates (WYSIWYG) and then just save the scene)
  • A Material Editor
  • A Filter Editor (combine multiple filters and just load them in-game)
  • Bundled JDK for each platform (so you don't need to install java first)
  • Bundled Blender (so you can start 3d modelling and also use it's import capabilities) and many more!

It is important to know that the SDK is not coupled with the engine itself, so if you have issues which are unrelated to the IDE, report them here. This however also means, that the SDK can have a different pace than the engine (at the time of writing, the SDK is on 3.1.0-stable whereas the engine team is already working on 3.2) but you can nonetheless work on a different engine version than the one which is bundled.

!!! Note: You are currently watching the master branch which is the active development for JMonkeyEngine 3.2. For the current release candidate, see the v3.1 branch! !!!

Getting Started / Downloading the SDK

Just have a look at our releases section. There you can download the version you desire. The SDK will generally follow the convention that it's version number is lined up with the matching engine version plus some suffixes for different SDK releases on the same engine version.

There are multiple files from which you can choose:
You can take the platform agnostic jmonkeyplatform.zip which contains the full SDK able to be run on "any" (X86/x86_64) platform (Windows, Mac OS, Linux) however it lacks the jdk as well as blender.
Thus the prefered download is jmonkeyplatform-windows-x64.exe which essentially is jmonkeyplatform.zip and the correct version of the JDK and Blender (hence the ~250MiB size increase).
If you don't know whether your system is 64 bits (x64) or 32 bits (x86), you can type uname -i on Linux or look into the system informations (right click on Computer->Properties) on Windows.

Note: The Tag stable is refering to 3.0-stable, which is an ancient version. You should not start any new projects based of 3.0 but use 3.1 instead. Also the tag is pointing to the wrong commit since we had to re-upload those files but the repo doesn't really contain any 3.0 commits anymore.

Building the SDK

Building the SDK is an easy process basically, but it depends on what kind of distribution you want to build. You also have to know that the build process changes from time to time, so have a look at the .travis.yml file, or related, you will see how we build our releases then.

Note: Currently, the SDK has to build the engine on it's own, because not all needed dependencies are in mavenCentral/jCenter. Thus you have to call build_engine.sh first on a Linux System, Inside your Windows-Git-Shell or you can manually checkout the jMonkeyEngine repository and then invoke gradlew.bat -PbuildJavaDoc=true install. This will add all jMonkeyEngine Libraries into your local maven "server".

Technically the gradle task buildSdk is the main task which builds the sdk (Invoking ./gradlew buildSdk or gradlew.bat buildSdk on Windows).

If you just want to run the SDK on your machine:

call `./gradlew run` (`gradlew.bat run`), which internally calls `buildSdk` and then uses `ant` to run the SDK.

If you want to build the platform agnostic zip:

call `./gradlew buildSdk` and then you have the file in `dist/jmonkeyplatform.zip`  

If you want to build the platform installers (like we do):

call `./download-jdks.sh`, `./gradlew buildSdk` and then `ant build-installers`
You have to install ant for this to work (for linux consult the internet, for mac os look into homebrew).
Note that this takes a long time (more than one hour), because a huge amount of data is compressed and such.

If you want to build the platform installers (On Windows -> without having ant):

See above. You can bypass ant by declaring a gradle task, just like it has been done for run. There, the gradle included ant will be used).
Alternatively you can launch netbeans in `netbeans/`, open the SDK as Netbeans Project Collection and select __package as__:
![Package as...](http://i.imgur.com/5V2uBHf.png).
Note that you still have to download and unpack the jdks somehow, which is a cumbersome process, which is why it is discouraged to
build the installers on Windows (Linux and Mac OS are supported).

If you want to debug the SDK inside an IDE:

See above. You want to open the SDK as Netbeans Project from within Netbeans (you can use the nb in `netbeans/`) and you can then treat it as regular project with the difference that there are several subproject.

A note about the netbeans/ folder: To save bandwidth buildSdk downloads netbeans once to said folder and uses it over and over again. Even when the download URL is changed (i.e. when you update the netbeans version), you have to delete the netbeans folder and remove it from any cache (Travis!), so it can be reloaded.

Developing/Contributing

First of all, I suggest you to take a look at docs/. Those docs are a loose collection of things I came across during development, but they prevent you from re-doing the same experiences. Other than that, Netbeans Platform is your google keyword for any NB related issues. Basically the only tricky thing is how we handle custom entries in the SceneExplorer. This is called the Netbeans Nodes API and is somewhat unintuitive. Just take a look at the Motion Event Pull Request, which should've been added around March 2016, there you can see what was needed to add MotionEvents to the SDK.

Other than that, we are more than happy to help, even if your addition is incomplete. Make sure you use the Netbeans formatting, obvious variable naming and commented and especially documented code, though. Before you open an issue, make sure that it is not an engine bug, but a real sdk bug. If you are uncertain whether it is a real bug or misuse, you can either open an issue or ask on the hub using the Troubleshooting | jmonkeyplatform category.

Issues when building

Could not find jme3.1.0-stable :

When you occur this issue, you have to go back to the engine build step and see how the engine is called. Technically the engine version is collected out from git tags, or called SNAPSHOT. Then there are cases where this recognition fails. For example when the SDK has a tag but the engine is snapshot. Then take a look at `build.gradle` in the sdk repo. It contains a field called `ext.jmeVersion` or something, where you can specify the version.

Could not find jme3-jbullet :

jBullet is not part of jCenter, which means you forgot to build the engine first. See above.