From 3cbe2b7943c0437ffb8c2a03a679c0ca8b9f527e Mon Sep 17 00:00:00 2001 From: Piotr Gurgul Date: Mon, 21 Sep 2009 21:40:15 -0700 Subject: [PATCH] Add automatic application package extraction from manifest Automatic extraction of the application.package property has been added leveradging xpath ant task. This reduces redundancy, removes hardcoded application.package and solves bug with uninstalling test application package. In order to function properly needs removing application.package from build.properties file. --- tools/scripts/android_rules.xml | 7 +++++++ tools/scripts/android_test_rules.xml | 9 ++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/tools/scripts/android_rules.xml b/tools/scripts/android_rules.xml index e91dc0b6c..4d74ae2db 100644 --- a/tools/scripts/android_rules.xml +++ b/tools/scripts/android_rules.xml @@ -22,9 +22,16 @@ classname="com.android.ant.ApkBuilderTask" classpathref="android.antlibs" /> + + + + diff --git a/tools/scripts/android_test_rules.xml b/tools/scripts/android_test_rules.xml index 14bdb2f49..60518dff6 100644 --- a/tools/scripts/android_test_rules.xml +++ b/tools/scripts/android_test_rules.xml @@ -8,11 +8,14 @@ - + + - + @@ -28,7 +31,7 @@ - +