|
@@ -1,14 +1,10 @@
|
|
= Default Build Script
|
|
= Default Build Script
|
|
-:author:
|
|
|
|
-:revnumber:
|
|
|
|
-:revdate: 2016/03/17 20:48
|
|
|
|
|
|
+:revnumber: 2.0
|
|
|
|
+:revdate: 2020/07/10
|
|
:keywords: documentation, sdk, builds, project, deployment
|
|
:keywords: documentation, sdk, builds, project, deployment
|
|
-:relfileprefix: ../
|
|
|
|
-:imagesdir: ..
|
|
|
|
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
|
|
|
|
|
|
|
|
|
-If you use jMonkeyEngine libraries together with the jMonkeyEngine SDK (recommended) then you benefit from the provided build script. Every new project comes with a default Ant script. The toolbar buttons and clean/build/run actions in the jMonkeyEngine SDK are already pre-configured.
|
|
|
|
|
|
+If you use jMonkeyEngine libraries together with the jMonkeyEngine SDK (recommended) then you benefit from the provided build script. Every new project comes with a default Ant script. The toolbar buttons and clean/build/run actions in the jMonkeyEngine SDK are already pre-configured.
|
|
|
|
|
|
|
|
|
|
== Default Targets
|
|
== Default Targets
|
|
@@ -59,16 +55,16 @@ You will notice that the file `nbproject/build-impl.xml` opens. It contains very
|
|
|
|
|
|
image::sdk/build-impl.png[build-impl.png,width="",height="",align="right"]
|
|
image::sdk/build-impl.png[build-impl.png,width="",height="",align="right"]
|
|
|
|
|
|
-The build script is a non-proprietary Apache Ant script. It will work out-of-the-box, but if necessary, you can extend and customize it.
|
|
|
|
|
|
+The build script is a non-proprietary Apache Ant script. It will work out-of-the-box, but if necessary, you can extend and customize it.
|
|
|
|
|
|
Read the comments in `build.xml`, they explain how to override targets, or extend them, to customize the build process without breaking the existing functionality.
|
|
Read the comments in `build.xml`, they explain how to override targets, or extend them, to customize the build process without breaking the existing functionality.
|
|
|
|
|
|
Additionally, you can manually override the targets in the `*-impl.xml` files that are created when you change the deployment settings:
|
|
Additionally, you can manually override the targets in the `*-impl.xml` files that are created when you change the deployment settings:
|
|
|
|
|
|
* linuxlauncher-impl.xml,
|
|
* linuxlauncher-impl.xml,
|
|
-* macapp-impl.xml,
|
|
|
|
-* mobile-impl.xml,
|
|
|
|
-* jnlp-impl.xml, etc.
|
|
|
|
|
|
+* macapp-impl.xml,
|
|
|
|
+* mobile-impl.xml,
|
|
|
|
+* jnlp-impl.xml, etc.
|
|
|
|
|
|
Simply copy&paste a target from these files into the main build.xml and that will be run instead with all modifications.
|
|
Simply copy&paste a target from these files into the main build.xml and that will be run instead with all modifications.
|
|
|
|
|