|
|
|
@ -414,149 +414,4 @@ task cleanSdk() <<{ |
|
|
|
|
jar.dependsOn(buildSdk) |
|
|
|
|
clean.dependsOn(cleanSdk); |
|
|
|
|
|
|
|
|
|
//configurations { |
|
|
|
|
// antlibs |
|
|
|
|
//} |
|
|
|
|
//dependencies { |
|
|
|
|
// antlibs filetree(dir: 'ant-lib', include: '*.jar') |
|
|
|
|
//} |
|
|
|
|
// |
|
|
|
|
//ant.taskdef(resource: 'net/sf/antcontrib/antcontrib.properties', classpath: configurations.antlibs.asPath) |
|
|
|
|
//ant.taskdef(name: 'deb', classname: 'com.googlecode.ant_deb_task.Deb', classpath: configurations.antlibs.asPath) |
|
|
|
|
//ant.taskdef(name: 'gcupload', classname: 'net.bluecow.googlecode.ant.GoogleCodeUploadTask', classpath: configurations.antlibs.asPath) |
|
|
|
|
//ant.taskdef(name: 'desktopentry', classname: 'com.googlecode.ant_deb_task.DesktopEntry', classpath: configurations.antlibs.asPath) |
|
|
|
|
//ant.importBuild 'build.xml' |
|
|
|
|
|
|
|
|
|
//ant.properties.buildDir = buildDir |
|
|
|
|
//ant.properties['buildDir'] = buildDir |
|
|
|
|
//ant.property(name: 'buildDir', location: buildDir) |
|
|
|
|
|
|
|
|
|
//ant.taskdef(resource: 'checkstyletask.properties') { |
|
|
|
|
// classpath { |
|
|
|
|
// fileset(dir: 'ant-lib', includes: '*.jar') |
|
|
|
|
// } |
|
|
|
|
//} |
|
|
|
|
//ant.checkstyle(config: 'checkstyle.xml') { |
|
|
|
|
// fileset(dir: 'src') |
|
|
|
|
//} |
|
|
|
|
// |
|
|
|
|
// <target name="-do-update-sdk"> |
|
|
|
|
// <fileset id="jme3-jars" dir="build"> |
|
|
|
|
// <include name="**/jME3**.jar"/> |
|
|
|
|
// <exclude name="**/jME3-testdata.jar"/> |
|
|
|
|
// <exclude name="**/jME3-bullet-natives.jar"/> |
|
|
|
|
// <exclude name="**/jME3-bullet-natives-android.jar"/> |
|
|
|
|
// <exclude name="**/jME3-openal-soft-natives-android.jar"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// <fileset id="jme3-sdk-jars" dir="build"> |
|
|
|
|
// <include name="**/jME3**.jar"/> |
|
|
|
|
// <exclude name="**/jME3-android.jar"/> |
|
|
|
|
// <exclude name="**/jME3-testdata.jar"/> |
|
|
|
|
// <exclude name="**/jME3-bullet.jar"/> |
|
|
|
|
// <exclude name="**/jME3-bullet-natives.jar"/> |
|
|
|
|
// <exclude name="**/jME3-bullet-natives-android.jar"/> |
|
|
|
|
// <exclude name="**/jME3-openal-soft-natives-android.jar"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// <fileset id="jme3-bullet-native-jars" dir="${dist.dir}/opt/native-bullet"> |
|
|
|
|
// <include name="**/jME3-bullet-native**.jar"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// <fileset id="jme3-openal-soft-natives-jars" dir="${dist.dir}/opt/native-openal-soft"> |
|
|
|
|
// <include name="**/jME3-openal-soft-natives-android.jar"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// <fileset id="jme3-testdata-jars" dir="build"> |
|
|
|
|
// <include name="**/jME3-testdata.jar"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// <fileset id="jme3-lwjgl-native-jars" dir="${dist.dir}/lib"> |
|
|
|
|
// <include name="**/jME3-lwjgl-natives.jar"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// <fileset id="jme3-external-libraries" dir="${dist.dir}/lib/"> |
|
|
|
|
// <exclude name="jME3-**"/> |
|
|
|
|
// <exclude name="**/nifty-examples.jar"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// <echo>Clearing old files</echo> |
|
|
|
|
// <delete dir="${jmp_dir}/JME3TestsTemplate/src/"/> |
|
|
|
|
// <delete dir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/"/> |
|
|
|
|
// <delete dir="${jmp_dir}/jme3-core-libraries/release/modules/ext/"/> |
|
|
|
|
// <delete dir="${jmp_dir}/jme3-project-libraries/release/libs/"/> |
|
|
|
|
// <delete dir="${jmp_dir}/jme3-project-baselibs/release/libs/"/> |
|
|
|
|
// <delete dir="${jmp_dir}/jme3-project-testdata/release/libs/"/> |
|
|
|
|
// |
|
|
|
|
// <echo>Copying jMonkeyPlatform jME3 libs</echo> |
|
|
|
|
// <copy toDir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
|
|
|
|
// <fileset refid="jme3-sdk-jars"/> |
|
|
|
|
// <!--natives need to be in jme3 package for jme to work in jMP--> |
|
|
|
|
// <fileset refid="jme3-lwjgl-native-jars"/> |
|
|
|
|
// </copy> |
|
|
|
|
// |
|
|
|
|
// <echo>Copying jMonkeyPlatform external libraries</echo> |
|
|
|
|
// <copy todir="${jmp_dir}/jme3-core-libraries/release/modules/ext/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
|
|
|
|
// <fileset refid="jme3-external-libraries"/> |
|
|
|
|
// </copy> |
|
|
|
|
// |
|
|
|
|
// <echo>Copying Project jME3 libs</echo> |
|
|
|
|
// <copy toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
|
|
|
|
// <fileset refid="jme3-jars"/> |
|
|
|
|
// <fileset refid="jme3-openal-soft-natives-jars"/> |
|
|
|
|
// </copy> |
|
|
|
|
// |
|
|
|
|
// <echo>Copying Project external libraries</echo> |
|
|
|
|
// <copy todir="${jmp_dir}/jme3-project-libraries/release/libs/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
|
|
|
|
// <fileset refid="jme3-external-libraries"/> |
|
|
|
|
// <fileset refid="jme3-lwjgl-native-jars"/> |
|
|
|
|
// <fileset refid="jme3-bullet-native-jars"/> |
|
|
|
|
// </copy> |
|
|
|
|
// |
|
|
|
|
// <echo>Copying Test Project Data</echo> |
|
|
|
|
// <copy toDir="${jmp_dir}/jme3-project-testdata/release/libs/" overwrite="true" failonerror="true" verbose="false"> |
|
|
|
|
// <fileset refid="jme3-testdata-jars"/> |
|
|
|
|
// </copy> |
|
|
|
|
// |
|
|
|
|
// <echo>Copying Javadoc</echo> |
|
|
|
|
// <zip destfile="${dist.dir}/jMonkeyEngine3-javadoc.zip"> |
|
|
|
|
// <zipfileset dir="${dist.dir}/javadoc/"/> |
|
|
|
|
// </zip> |
|
|
|
|
// <copy file="${dist.dir}/jMonkeyEngine3-javadoc.zip" toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="false"/> |
|
|
|
|
// |
|
|
|
|
// <zip destfile="${dist.dir}/jMonkeyEngine3-sources.zip"> |
|
|
|
|
// <zipfileset dir="${src.core.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.core-data.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.core-effects.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.core-plugins.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.desktop.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.jbullet.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.niftygui.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.jogg.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.lwjgl.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.ogre.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.test.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.tools.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.xml.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.terrain.dir}"/> |
|
|
|
|
// <zipfileset dir="${src.networking.dir}"/> |
|
|
|
|
// </zip> |
|
|
|
|
// <copy file="${dist.dir}/jMonkeyEngine3-sources.zip" toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="false"/> |
|
|
|
|
// |
|
|
|
|
// <copy todir="${jmp_dir}/jme3-project-libraries/release/libs/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
|
|
|
|
// <fileset refid="jme3-external-libraries"/> |
|
|
|
|
// <fileset refid="jme3-lwjgl-native-jars"/> |
|
|
|
|
// <fileset refid="jme3-bullet-native-jars"/> |
|
|
|
|
// <fileset refid="jme3-openal-soft-natives-jars"/> |
|
|
|
|
// <fileset dir="lib/niftygui/"> |
|
|
|
|
// <include name="nifty-javadoc.jar"/> |
|
|
|
|
// <include name="nifty-default-controls-javadoc.jar"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// </copy> |
|
|
|
|
// |
|
|
|
|
// <echo>Copying Test Examples</echo> |
|
|
|
|
// <copy todir="${jmp_dir}/JME3TestsTemplate/src/" overwrite="true" failonerror="true" verbose="false"> |
|
|
|
|
// <fileset dir="src/test/"> |
|
|
|
|
// <exclude name=".svn"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// </copy> |
|
|
|
|
// <copy todir="${jmp_dir}/JME3TestsTemplateAndroid/src/" overwrite="true" failonerror="true" verbose="false"> |
|
|
|
|
// <fileset dir="src/test/"> |
|
|
|
|
// <exclude name=".svn"/> |
|
|
|
|
// </fileset> |
|
|
|
|
// </copy> |
|
|
|
|
// </target> |
|
|
|
|
|