Merge change 22697 into eclair
* changes: Ant clean target added
This commit is contained in:
@@ -252,7 +252,6 @@
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<!-- Uninstalls the package from the default emulator/device -->
|
||||
<target name="-uninstall-check">
|
||||
<condition property="uninstall.run">
|
||||
<isset property="application.package" />
|
||||
@@ -263,6 +262,7 @@
|
||||
<echo>Unable to run 'ant uninstall', application.package is not defined in build.properties</echo>
|
||||
</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.">
|
||||
<echo>Uninstalling ${application.package} from the default emulator or device...</echo>
|
||||
<exec executable="${adb}" failonerror="true">
|
||||
@@ -271,11 +271,17 @@
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="clean" description="Removes output files created by other targets.">
|
||||
<delete dir="${out.dir}" />
|
||||
<delete dir="${gen.dir}" />
|
||||
</target>
|
||||
|
||||
<target name="help">
|
||||
<!-- displays starts at col 13
|
||||
|13 80| -->
|
||||
<echo>Android Ant Build. Available targets:</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> debug: Builds the application and signs it with a debug key.</echo>
|
||||
<echo> release: Builds the application. The generated apk file must be</echo>
|
||||
|
||||
Reference in New Issue
Block a user