|
|
|
@ -4,18 +4,26 @@ |
|
|
|
|
|
|
|
|
|
<target name="run-android" depends="-flag-no-android, jar, -test-android-enabled, -copy-android-libs" if="is.android.enabled"> |
|
|
|
|
<echo>Building debug android application version.</echo> |
|
|
|
|
<ant dir="mobile" target="debug"/> |
|
|
|
|
<ant dir="mobile" target="debug"> |
|
|
|
|
<property name="manifest.abs.file" location="mobile/AndroidManifest.xml"/> |
|
|
|
|
</ant> |
|
|
|
|
<antcall target="-start-android-device"/> |
|
|
|
|
<ant dir="mobile" target="installd"/> |
|
|
|
|
<ant dir="mobile" target="installd"> |
|
|
|
|
<property name="manifest.abs.file" location="mobile/AndroidManifest.xml"/> |
|
|
|
|
</ant> |
|
|
|
|
<antcall target="-run-android-device"/> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="clean-android"> |
|
|
|
|
<ant dir="mobile" target="clean"/> |
|
|
|
|
<ant dir="mobile" target="clean"> |
|
|
|
|
<property name="manifest.abs.file" location="mobile/AndroidManifest.xml"/> |
|
|
|
|
</ant> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="-mobile-deployment" depends="-test-android-enabled, -copy-android-libs" if="is.android.enabled" unless="no.android.build"> |
|
|
|
|
<ant dir="mobile" target="release"/> |
|
|
|
|
<ant dir="mobile" target="release"> |
|
|
|
|
<property name="manifest.abs.file" location="mobile/AndroidManifest.xml"/> |
|
|
|
|
</ant> |
|
|
|
|
<copy todir="dist" verbose="false" flatten="true"> |
|
|
|
|
<fileset dir="mobile/bin/"> |
|
|
|
|
<include name="**/*.apk"/> |
|
|
|
|