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