aboutsummaryrefslogtreecommitdiffstats
path: root/files/ant
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2011-07-11 22:11:32 -0400
committerRaphael Moll <ralf@android.com>2011-07-11 22:11:32 -0400
commita9dcfb3777eddee860ddb59f5ae77a611ffab63a (patch)
tree23416ed8e6f3fd22c7e67e7fb5b594fa3478f285 /files/ant
parent5a7dfe7f7526aad898e2b6c43146fb79ef30b34c (diff)
downloadsdk-a9dcfb3777eddee860ddb59f5ae77a611ffab63a.zip
sdk-a9dcfb3777eddee860ddb59f5ae77a611ffab63a.tar.gz
sdk-a9dcfb3777eddee860ddb59f5ae77a611ffab63a.tar.bz2
Properly support spaces in ant project directories.
After applying https://review.source.android.com/24515 for the dalvik/dx change, this allows ant project to build correctly on Windows if there's a space in their directory path. Change-Id: I4c6d5f87fae2dcf2955698633a16a0bde501694f
Diffstat (limited to 'files/ant')
-rw-r--r--files/ant/main_rules.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/ant/main_rules.xml b/files/ant/main_rules.xml
index 996a70d..97e9efb 100644
--- a/files/ant/main_rules.xml
+++ b/files/ant/main_rules.xml
@@ -202,7 +202,8 @@
<echo>Converting compiled files and external libraries into ${intermediate.dex.file}...</echo>
<apply executable="${dx}" failonerror="true" parallel="true">
<arg value="--dex" />
- <arg value="--output=${intermediate.dex.file}" />
+ <arg value="--output" />
+ <arg path="${intermediate.dex.file}" />
<extra-parameters />
<arg line="${verbose.option}" />
<arg path="${out.dex.input.absolute.dir}" />