From f3ee864798d49e91b249ab18b7d6b219d9e07fff Mon Sep 17 00:00:00 2001 From: Piotr Gurgul Date: Sat, 22 Aug 2009 12:45:34 -0700 Subject: Refactoring of android_rules.xml file This is a new CL because of merge conflict in the old one. Naming changed to 'property.name' style for property names. Property 'value' attributes changed to 'location' for props containing location. Suffix '.dir' added to properties' names indicating directories. '-description' prefix added to intermediate/internal targets. '*.location' properties removed, as 'location' attribute should take care of full paths, adding $basedir implicitly, so hopefully there is no need to define them explicitly. External property names (taken from other files or hardcoded somewhere) stayed untouched in this CL. Some minor improvements to comments in order to make them more consistent. --- scripts/android_rules.xml | 224 +++++++++++++++++++++++----------------------- 1 file changed, 113 insertions(+), 111 deletions(-) diff --git a/scripts/android_rules.xml b/scripts/android_rules.xml index de44a7e..b8a5380 100644 --- a/scripts/android_rules.xml +++ b/scripts/android_rules.xml @@ -24,176 +24,169 @@ - + - - - - - + + + + - - + + - - + + - - - - - - - + + + + + + + - - - - - - + + - - - - - + + + + + - - + + - + - - + + Creating output directories if needed... - - - - - + + + + + - - + + Generating R.java / Manifest.java from the resources... - + - + - - + + Compiling aidl files into Java classes... - - - + + + - - + + - - + + - - + + - - - Converting compiled files and external libraries into ${out-folder}/${dex-file}... + + + Converting compiled files and external libraries into ${out.dir}/${dex.file.name}... - - - + + + - - + Packaging resources - - + - - - - + + + + - + - + - + Running zip align on final apk... - - + + - Debug Package: ${out-debug-package} + Debug Package: ${out.debug.package} - + - + @@ -201,81 +194,90 @@ - + + No key.store and key.alias properties found in build.properties. - Please sign ${out-unsigned-package} manually + Please sign ${out.unsigned.package} manually and run zipalign from the Android SDK tools. - - + + + - + + Signing final apk... - + + Running zip align on final apk... - - + + - Release Package: ${out-release-package} + Release Package: ${out.release.package} - - - Installing ${out-debug-package} onto default emulator... + + + Installing ${out.debug.package} onto default emulator or device... - + - - Installing ${out-debug-package} onto default emulator... + + Installing ${out.debug.package} onto default emulator or device... - + - - + + - - Unable to run 'ant unintall', application-package is not defined in build.properties + + + Unable to run 'ant uninstall', application-package is not defined in build.properties - - Uninstalling ${application-package} from the default emulator... + + + Uninstalling ${application-package} from the default emulator or device... - + Android Ant Build. Available targets: help: Displays this help. - debug: Builds the application and sign it with a debug key. + compile: Compiles project's .java files into .class files. + debug: Builds the application and signs it with a debug key. release: Builds the application. The generated apk file must be signed before it is published. install: Installs the debug package onto a running emulator or @@ -284,7 +286,7 @@ reinstall: Installs the debug package on a running emulator or device that already has the application. The signatures must match. - uninstall: uninstall the application from a running emulator or + uninstall: Uninstalls the application from a running emulator or device. -- cgit v1.1