@ -16,6 +16,7 @@
<!-- compiles the java classes of the native bullet version (works on all systems) -->
<target name= "-compile-bullet" >
<echo message= "Compiling Bullet" />
<mkdir dir= "build/bullet" />
<javac classpath= "${javac.classpath}${path.separator}${build.classes.dir}" destdir= "build/bullet" srcdir= "src/bullet" />
<jar jarfile= "build/jME3-bullet.jar" basedir= "build/bullet/" compress= "true" />
@ -23,6 +24,7 @@
<!-- this target creates the separate jar files for jme3 and modifies the classpath to include them -->
<target name= "-prepare-separate-jar-files" >
<echo message= "Preparing jME3 jar files" />
<!-- separate test classes -->
<mkdir dir= "build/testclasses/" />
<move file= "build/classes/jme3test" todir= "build/testclasses/" failonerror= "false" />
@ -57,6 +59,7 @@
<!-- compiles the android jar for jME3 -->
<target name= "-compile-android" description= "builds the jMonkeyEngine3 distribution for android" >
<echo message= "Compiling Android jMonkeyEngin3.jar" />
<path id= "android-classpath" >
<pathelement path= "lib/android/android.jar" />
<pathelement path= "build/classes" />
@ -74,6 +77,7 @@
<!-- separates and packs the o ptional packages -->
<target name= "-create-optional-packages" >
<echo message= "Creating optional packages" />
<!-- native bullet -->
<mkdir dir= "dist/opt/native-bullet" />
<mkdir dir= "dist/opt/native-bullet/lib" />
@ -179,20 +183,21 @@
<delete dir= "${jmp_dir}/jme3-project-testdata/release/libs/" />
<!-- jMonkeyPlatform jME3 libs -->
<copy file= "${dist.jar}" toDir= "${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "true" />
<copy file= "dist/opt/native-bullet/lib/jME3-bullet.jar" toDir= "${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "true" />
<copy file= "dist/opt/native-bullet/lib/jME3-bullet-natives.jar" toDir= "${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "true" />
<copy file= "${dist.jar}" toDir= "${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "false" />
<copy file= "dist/opt/native-bullet/lib/jME3-bullet.jar" toDir= "${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "false" />
<copy file= "dist/opt/native-bullet/lib/jME3-bullet-natives.jar" toDir= "${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "false" />
<copy file= "dist/lib/jME3-jbullet.jar" toDir= "${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "false" />
<!-- natives need to be in jme3 package fro jme to work in jMP -->
<copy file= "dist/lib/jME3-lwjgl-natives.jar" toDir= "${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "tru e" />
<copy file= "dist/lib/jME3-lwjgl-natives.jar" toDir= "${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "fals e" />
<!-- Project jME3 libs -->
<copy file= "${dist.jar}" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "tru e" />
<copy file= "dist/opt/native-bullet/lib/jME3-bullet.jar" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "tru e" />
<copy file= "dist/opt/native-bullet/lib/jME3-bullet-natives.jar" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "tru e" />
<copy file= "dist/lib/jME3-jbullet.jar" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "tru e" />
<copy file= "${dist.jar}" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "fals e" />
<copy file= "dist/opt/native-bullet/lib/jME3-bullet.jar" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "fals e" />
<copy file= "dist/opt/native-bullet/lib/jME3-bullet-natives.jar" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "fals e" />
<copy file= "dist/lib/jME3-jbullet.jar" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "fals e" />
<!-- jMonkeyPlatform external libraries -->
<copy todir= "${jmp_dir}/jme3-core-libraries/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "tru e" >
<copy todir= "${jmp_dir}/jme3-core-libraries/release/modules/ext/" overwrite= "true" failonerror= "true" verbose= "fals e" >
<!-- exclude jme3 test data from core -->
<fileset dir= "dist/lib/" >
<exclude name= "jME3-testdata.jar" />
@ -203,7 +208,7 @@
</copy>
<!-- Project external libraries -->
<copy todir= "${jmp_dir}/jme3-project-libraries/release/libs/" overwrite= "true" failonerror= "true" verbose= "tru e" >
<copy todir= "${jmp_dir}/jme3-project-libraries/release/libs/" overwrite= "true" failonerror= "true" verbose= "fals e" >
<!-- exclude jme3 test data from libs -->
<fileset dir= "dist/lib/" >
<exclude name= "jME3-testdata.jar" />
@ -213,13 +218,13 @@
</copy>
<!-- test data -->
<copy file= "dist/lib/jME3-testdata.jar" toDir= "${jmp_dir}/jme3-project-testdata/release/libs/" overwrite= "true" failonerror= "true" verbose= "tru e" />
<copy file= "dist/lib/jME3-testdata.jar" toDir= "${jmp_dir}/jme3-project-testdata/release/libs/" overwrite= "true" failonerror= "true" verbose= "fals e" />
<!-- javadoc -->
<zip destfile= "dist/jMonkeyEngine3-javadoc.zip" >
<zipfileset dir= "dist/javadoc/" />
</zip>
<copy file= "dist/jMonkeyEngine3-javadoc.zip" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "tru e" />
<copy file= "dist/jMonkeyEngine3-javadoc.zip" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "fals e" />
<!-- sources -->
<zip destfile= "dist/jMonkeyEngine3-sources.zip" >
@ -243,10 +248,10 @@
<zipfileset dir= "${src.terrain.dir}" />
<zipfileset dir= "${src.networking.dir}" />
</zip>
<copy file= "dist/jMonkeyEngine3-sources.zip" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "tru e" />
<copy file= "dist/jMonkeyEngine3-sources.zip" toDir= "${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite= "true" failonerror= "true" verbose= "fals e" />
<!-- examples -->
<copy todir= "${jmp_dir}/JME3TestsTemplate/src/" overwrite= "true" failonerror= "true" verbose= "tru e" >
<copy todir= "${jmp_dir}/JME3TestsTemplate/src/" overwrite= "true" failonerror= "true" verbose= "fals e" >
<fileset dir= "src/test/" >
<exclude name= ".svn" />
</fileset>
@ -286,7 +291,7 @@
<target name= "deploy-hudson" depends= "dist" >
<copy
file="${jme3zip}"
toDir="/var/www/com/nightly" overwrite="true" failonerror="true" verbose="tru e"
toDir="/var/www/com/nightly" overwrite="true" failonerror="true" verbose="fals e"
/>
<copydir
src="dist/javadoc/" dest="/var/www/org/javadoc/" forceoverwrite="true"