diff options
author | Matthew Jason Benson <mbenson@apache.org> | 2006-06-23 22:30:47 +0000 |
---|---|---|
committer | Matthew Jason Benson <mbenson@apache.org> | 2006-06-23 22:30:47 +0000 |
commit | d6c1221db2a5545f574ce45a3f4932ab9ae9ca03 (patch) | |
tree | 68d711554d1ea6b6d3dd145dd966d055e200eed7 /get-m2.xml | |
parent | 68f12c8172394462a7dcd18c97492352983b67b5 (diff) | |
download | ant-d6c1221db2a5545f574ce45a3f4932ab9ae9ca03.tar.gz |
rename get-m2 dest.dir to m2.dest.dir for better portability;
<fail unless=""> is more compact than a nested <not><isset /></not> in fetch/pickDest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416830 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'get-m2.xml')
-rw-r--r-- | get-m2.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/get-m2.xml b/get-m2.xml index 16a32e6c2..6ded24743 100644 --- a/get-m2.xml +++ b/get-m2.xml @@ -13,7 +13,7 @@ <description> This build file downloads the Maven2 Ant tasks, - and installs them in the location specified by the dest.dir property. + and installs them in the location specified by the m2.dest.dir property. You may need to set proxy settings. On Java1.5, Ant tries to get this from the OS, unless you use the -noproxy option. @@ -49,11 +49,11 @@ </macrodef> <target name="probe-m2"> - <require property="dest.dir" /> + <require property="m2.dest.dir" /> <require property="m2.jar.name" /> <!-- Look for M2 ant tasks in our classpath--> - <property name="m2.artifact" location="${dest.dir}/${m2.jar.name}" /> + <property name="m2.artifact" location="${m2.dest.dir}/${m2.jar.name}" /> <available property="m2.antlib.found" resource="${m2.antlib.resource}" /> <condition property="m2.antlib.typefound"> <typefound name="${m2.antlib.uri}:artifact" /> @@ -62,9 +62,9 @@ <target name="download-m2" depends="probe-m2" unless="m2.antlib.found"> <require property="m2.antlib.url" /> - <echo>Downloading to ${dest.dir}</echo> + <echo>Downloading to ${m2.dest.dir}</echo> - <mkdir dir="${dest.dir}" /> + <mkdir dir="${m2.dest.dir}" /> <!-- fetch M2 ant tasks into our repository, if it is not there--> <get src="${m2.antlib.url}" dest="${m2.artifact}" |