Browse Source

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
iwg..om 12 years ago
parent
commit
5b9aeb2a77
1 changed files with 7 additions and 3 deletions
  1. 7 3
      jme3-android/src/com/jme3/gde/android/mobile-targets.xml

+ 7 - 3
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">