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
This commit is contained in:
parent
1d1b893510
commit
30c2bb665e
@ -45,15 +45,19 @@
|
|||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</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>
|
<echo>Adding libraries for android.</echo>
|
||||||
<copy todir="mobile/libs" flatten="true">
|
<copy todir="mobile/libs" flatten="true">
|
||||||
<path>
|
<path>
|
||||||
<pathelement path="${libs.android-base.classpath}"/>
|
<pathelement path="${libs.android-base.classpath}"/>
|
||||||
</path>
|
</path>
|
||||||
</copy>
|
</copy>
|
||||||
<antcall target="-unzip-bullet-libs"/>
|
|
||||||
<antcall target="-unzip-assets"/>
|
|
||||||
<copy file="${dist.jar}" todir="mobile/libs/" verbose="false"/>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="-unzip-bullet-libs" depends="-delete-bullet-libs" if="bulletIsIncluded">
|
<target name="-unzip-bullet-libs" depends="-delete-bullet-libs" if="bulletIsIncluded">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user