aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Gurgul <pgurgul@google.com>2009-08-25 10:59:55 -0700
committerPiotr Gurgul <pgurgul@google.com>2009-08-25 10:59:55 -0700
commitf971661673b9de726c21e8156ba9f19bd6abe65d (patch)
treef3313ff1e3037402e6775a80501f08cf5a59ad13
parent6eda10897e897587eb5212b29d33a7084c89f915 (diff)
downloadsdk-f971661673b9de726c21e8156ba9f19bd6abe65d.zip
sdk-f971661673b9de726c21e8156ba9f19bd6abe65d.tar.gz
sdk-f971661673b9de726c21e8156ba9f19bd6abe65d.tar.bz2
Alias rules properties names update
android-tools change to android.tools.dir sdk-folder to sdk.dir resource-dir to resource.dir out-package to out.package Some minor style changes introduced.
-rw-r--r--scripts/alias_rules.xml24
-rw-r--r--scripts/build.alias.template8
2 files changed, 16 insertions, 16 deletions
diff --git a/scripts/alias_rules.xml b/scripts/alias_rules.xml
index bc7de7c..18b978e 100644
--- a/scripts/alias_rules.xml
+++ b/scripts/alias_rules.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="alias_rules" default="package">
- <!-- No user servicable parts below. -->
+ <!-- No user serviceable parts below. -->
<!-- Input directories -->
- <property name="resource-dir" value="res" />
+ <property name="resource.dir" value="res" />
<!-- The final package file to generate -->
- <property name="out-package" value="${ant.project.name}.apk" />
+ <property name="out.package" value="${ant.project.name}.apk" />
<!-- Tools -->
- <condition property="aapt" value="${android-tools}/aapt.exe" else="${android-tools}/aapt" >
- <os family="windows"/>
+ <condition property="aapt" value="${android.tools.dir}/aapt.exe" else="${android.tools.dir}/aapt">
+ <os family="windows" />
</condition>
- <condition property="adb" value="${android-tools}/adb.exe" else="${android-tools}/adb" >
- <os family="windows"/>
+ <condition property="adb" value="${android.tools.dir}/adb.exe" else="${android.tools.dir}/adb">
+ <os family="windows" />
</condition>
- <property name="android-jar" value="${sdk-folder}/android.jar" />
+ <property name="android.jar" value="${sdk.dir}/android.jar" />
<!-- Rules -->
@@ -29,11 +29,11 @@
<arg value="-M" />
<arg value="AndroidManifest.xml" />
<arg value="-S" />
- <arg value="${resource-dir}" />
+ <arg value="${resource.dir}" />
<arg value="-I" />
- <arg value="${android-jar}" />
+ <arg value="${android.jar}" />
<arg value="-F" />
- <arg value="${out-package}" />
+ <arg value="${out.package}" />
</exec>
</target>
@@ -45,7 +45,7 @@
<echo>Sending package to default emulator...</echo>
<exec executable="${adb}" failonerror="true">
<arg value="install" />
- <arg value="${out-package}" />
+ <arg value="${out.package}" />
</exec>
</target>
diff --git a/scripts/build.alias.template b/scripts/build.alias.template
index b605295..4771b63 100644
--- a/scripts/build.alias.template
+++ b/scripts/build.alias.template
@@ -4,16 +4,16 @@
<!-- The build.properties file can be created by you and is never touched
by activitycreator. If you want to manually set properties, this is
the best place to set them. -->
- <property file="build.properties"/>
+ <property file="build.properties" />
<!-- The default.properties file is created and updated by activitycreator.
It will set any properties not already defined by build.properties. -->
- <property file="default.properties"/>
+ <property file="default.properties" />
<!-- ************************************************************************************* -->
- <!-- Import the default Android build rules.
+ <!-- Import the default Android build rules.
This requires ant 1.6.0 or above. -->
- <import file="${sdk-folder}/tools/lib/alias_rules.xml" />
+ <import file="${sdk.dir}/tools/lib/alias_rules.xml" />
</project>