- delete android libs folder before copying the new libraries on build

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8661 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 5e35a60622
commit 4ec2d57a32
  1. 2
      sdk/jme3-android/src/com/jme3/gde/android/MobileCompositeProvider.java
  2. 2
      sdk/jme3-android/src/com/jme3/gde/android/mobile-targets.xml

@ -62,7 +62,7 @@ public class MobileCompositeProvider implements ProjectCustomizer.CompositeCateg
private class SavePropsListener implements ActionListener { private class SavePropsListener implements ActionListener {
private String extensionName = "mobile"; private String extensionName = "mobile";
private String extensionVersion = "v0.12"; private String extensionVersion = "v0.13";
private String[] extensionDependencies = new String[]{"jar", "-mobile-deployment"}; private String[] extensionDependencies = new String[]{"jar", "-mobile-deployment"};
private ProjectExtensionManager manager = new ProjectExtensionManager(extensionName, extensionVersion, extensionDependencies); private ProjectExtensionManager manager = new ProjectExtensionManager(extensionName, extensionVersion, extensionDependencies);
private ProjectExtensionProperties properties; private ProjectExtensionProperties properties;

@ -24,6 +24,8 @@
<target name="-copy-android-libs" if="is.android.enabled"> <target name="-copy-android-libs" if="is.android.enabled">
<property name="libs.jme3-android" location="${libs.jme3-android.classpath}"/> <property name="libs.jme3-android" location="${libs.jme3-android.classpath}"/>
<delete dir="mobile/libs" failonerror="false"/>
<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="jMonkeyEngine3.jar"/> <exclude name="jMonkeyEngine3.jar"/>

Loading…
Cancel
Save