|
|
@ -29,6 +29,7 @@ |
|
|
|
<mkdir dir="mobile/libs"/> |
|
|
|
<mkdir dir="mobile/libs"/> |
|
|
|
<copy todir="mobile/libs" verbose="false" flatten="true"> |
|
|
|
<copy todir="mobile/libs" verbose="false" flatten="true"> |
|
|
|
<fileset dir="dist/lib/"> |
|
|
|
<fileset dir="dist/lib/"> |
|
|
|
|
|
|
|
<exclude name="${assets.jar.name}"/> |
|
|
|
<exclude name="jME3-desktop.jar"/> |
|
|
|
<exclude name="jME3-desktop.jar"/> |
|
|
|
<exclude name="jME3-blender.jar"/> |
|
|
|
<exclude name="jME3-blender.jar"/> |
|
|
|
<exclude name="jME3-lwjgl.jar"/> |
|
|
|
<exclude name="jME3-lwjgl.jar"/> |
|
|
@ -51,6 +52,7 @@ |
|
|
|
</path> |
|
|
|
</path> |
|
|
|
</copy> |
|
|
|
</copy> |
|
|
|
<antcall target="-unzip-bullet-libs"/> |
|
|
|
<antcall target="-unzip-bullet-libs"/> |
|
|
|
|
|
|
|
<antcall target="-unzip-assets"/> |
|
|
|
<copy file="${dist.jar}" todir="mobile/libs/" verbose="false"/> |
|
|
|
<copy file="${dist.jar}" todir="mobile/libs/" verbose="false"/> |
|
|
|
</target> |
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
@ -66,6 +68,14 @@ |
|
|
|
<delete file="mobile/libs/jME3-bullet-natives-android.jar"/> |
|
|
|
<delete file="mobile/libs/jME3-bullet-natives-android.jar"/> |
|
|
|
</target> |
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<target name="-unzip-assets"> |
|
|
|
|
|
|
|
<echo>Unzipping Assets to Android Directories</echo> |
|
|
|
|
|
|
|
<delete dir="mobile/assets" failonerror="false"/> |
|
|
|
|
|
|
|
<mkdir dir="mobile/assets"/> |
|
|
|
|
|
|
|
<unzip src="dist/lib/${assets.jar.name}" dest="mobile/assets"/> |
|
|
|
|
|
|
|
<delete file="mobile/libs/${assets.jar.name}" failonerror="true"/> |
|
|
|
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
<target name="-test-bullet-included"> |
|
|
|
<target name="-test-bullet-included"> |
|
|
|
<condition property="bulletIsIncluded"> |
|
|
|
<condition property="bulletIsIncluded"> |
|
|
|
<contains string="${javac.classpath}" substring="bullet.jar"/> |
|
|
|
<contains string="${javac.classpath}" substring="bullet.jar"/> |
|
|
|