Create seperate ant target in mobile-impl for copying the Android lib. Allows for easy overriding of the target in build.xml to define alternative Android libs.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10389 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
iwg..om 12 years ago
parent 1d1b893510
commit 30c2bb665e
  1. 10
      sdk/jme3-android/src/com/jme3/gde/android/mobile-targets.xml

@ -45,15 +45,19 @@
</fileset>
</copy>
<antcall target="-add-android-lib"/>
<antcall target="-unzip-bullet-libs"/>
<antcall target="-unzip-assets"/>
<copy file="${dist.jar}" todir="mobile/libs/" verbose="false"/>
</target>
<target name="-add-android-lib">
<echo>Adding libraries for android.</echo>
<copy todir="mobile/libs" flatten="true">
<path>
<pathelement path="${libs.android-base.classpath}"/>
</path>
</copy>
<antcall target="-unzip-bullet-libs"/>
<antcall target="-unzip-assets"/>
<copy file="${dist.jar}" todir="mobile/libs/" verbose="false"/>
</target>
<target name="-unzip-bullet-libs" depends="-delete-bullet-libs" if="bulletIsIncluded">

Loading…
Cancel
Save