am 2de42410: Merge change 22697 into eclair
Merge commit '2de4241074b761fc4d17f6d3928950cf23d258b9' * commit '2de4241074b761fc4d17f6d3928950cf23d258b9': Ant clean target added
This commit is contained in:
@@ -252,7 +252,6 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Uninstalls the package from the default emulator/device -->
|
|
||||||
<target name="-uninstall-check">
|
<target name="-uninstall-check">
|
||||||
<condition property="uninstall.run">
|
<condition property="uninstall.run">
|
||||||
<isset property="application.package" />
|
<isset property="application.package" />
|
||||||
@@ -263,6 +262,7 @@
|
|||||||
<echo>Unable to run 'ant uninstall', application.package is not defined in build.properties</echo>
|
<echo>Unable to run 'ant uninstall', application.package is not defined in build.properties</echo>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!-- Uninstalls the package from the default emulator/device -->
|
||||||
<target name="uninstall" depends="-uninstall-error" if="uninstall.run" description="Uninstalls the application from a running emulator or device.">
|
<target name="uninstall" depends="-uninstall-error" if="uninstall.run" description="Uninstalls the application from a running emulator or device.">
|
||||||
<echo>Uninstalling ${application.package} from the default emulator or device...</echo>
|
<echo>Uninstalling ${application.package} from the default emulator or device...</echo>
|
||||||
<exec executable="${adb}" failonerror="true">
|
<exec executable="${adb}" failonerror="true">
|
||||||
@@ -271,17 +271,23 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="clean" description="Removes output files created by other targets.">
|
||||||
|
<delete dir="${out.dir}" />
|
||||||
|
<delete dir="${gen.dir}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="help">
|
<target name="help">
|
||||||
<!-- displays starts at col 13
|
<!-- displays starts at col 13
|
||||||
|13 80| -->
|
|13 80| -->
|
||||||
<echo>Android Ant Build. Available targets:</echo>
|
<echo>Android Ant Build. Available targets:</echo>
|
||||||
<echo> help: Displays this help.</echo>
|
<echo> help: Displays this help.</echo>
|
||||||
|
<echo> clean: Removes output files created by other targets.</echo>
|
||||||
<echo> compile: Compiles project's .java files into .class files.</echo>
|
<echo> compile: Compiles project's .java files into .class files.</echo>
|
||||||
<echo> debug: Builds the application and signs it with a debug key.</echo>
|
<echo> debug: Builds the application and signs it with a debug key.</echo>
|
||||||
<echo> release: Builds the application. The generated apk file must be</echo>
|
<echo> release: Builds the application. The generated apk file must be</echo>
|
||||||
<echo> signed before it is published.</echo>
|
<echo> signed before it is published.</echo>
|
||||||
<echo> install: Installs the debug package onto a running emulator or</echo>
|
<echo> install: Installs the debug package onto a running emulator or</echo>
|
||||||
<echo> device. This can only be used if the application has </echo>
|
<echo> device. This can only be used if the application has</echo>
|
||||||
<echo> not yet been installed.</echo>
|
<echo> not yet been installed.</echo>
|
||||||
<echo> reinstall: Installs the debug package on a running emulator or</echo>
|
<echo> reinstall: Installs the debug package on a running emulator or</echo>
|
||||||
<echo> device that already has the application.</echo>
|
<echo> device that already has the application.</echo>
|
||||||
|
|||||||
Reference in New Issue
Block a user