- add android build to main build file

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7074 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent b2e0ae582c
commit 0925a6ca51
  1. 24
      engine/build.xml

@ -72,6 +72,30 @@
</zip> </zip>
</target> </target>
<target name="dist-android" depends="jar" description="builds the jMonkeyEngine3 distribution for android">
<path id="android-classpath">
<pathelement path="lib/android/android.jar"/>
<pathelement path="dist/jMonkeyEngine3.jar"/>
</path>
<mkdir dir="build/android"/>
<javac target="1.6"
encoding="UTF-8"
debug="true"
deprecation="on"
srcdir="src/android"
destdir="build/android"
classpathref="android-classpath"
excludes="**/OGLESRenderer.java,**/TestsActivity.java,**/AboutActivity.java"/>
<jar jarfile="dist/jMonkeyEngine3-Android.jar"
basedir="build/android"/>
<jar jarfile="dist/jMonkeyEngine3-Android.jar"
basedir="build/classes"
excludes="com/jme3/system/JmeSystem*"
update="true"/>
<!--<jar jarfile="dist/jmonkeyengine3-android-tests.jar"
basedir="build/testclasses"/>-->
</target>
<!-- convenience target to transfer jme3 libraries to sdk (jMonkeyPlatform) --> <!-- convenience target to transfer jme3 libraries to sdk (jMonkeyPlatform) -->
<target name="update-sdk" depends="jar, javadoc"> <target name="update-sdk" depends="jar, javadoc">
<antcall target="-do-update-sdk" inheritall="true"> <antcall target="-do-update-sdk" inheritall="true">

Loading…
Cancel
Save