diff options
author | Nicolas Lalevee <hibou@apache.org> | 2013-03-24 22:05:20 +0000 |
---|---|---|
committer | Nicolas Lalevee <hibou@apache.org> | 2013-03-24 22:05:20 +0000 |
commit | 630444744bdb290a94d306b5aa5b53e1b60a1252 (patch) | |
tree | ac2a8cba725102f4e1374ced5dc42b1dcf7a0ccb /launch-build.xml | |
parent | dc0415802c3e45ef68ed90c751fbfffdb5dd5150 (diff) | |
download | ant-630444744bdb290a94d306b5aa5b53e1b60a1252.tar.gz |
Reverting, I don't understand Windows...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1460475 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'launch-build.xml')
-rw-r--r-- | launch-build.xml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/launch-build.xml b/launch-build.xml index a6bbd6c77..b6dbe6e57 100644 --- a/launch-build.xml +++ b/launch-build.xml @@ -26,21 +26,17 @@ <condition property="launch.cmd" value="${basedir}/build.sh"> <os family="unix" /> </condition> - <condition property="launch.cmd" value="cmd.exe"> + <condition property="launch.cmd" value="${basedir}/build.bat"> <os family="windows" /> </condition> - <condition property="launch.args" value="/C '"${basedir}/build.bat" ${args}'"> - <os family="windows" /> - </condition> - <property name="launch.args" value="${args}" /> <target name="launch"> <fail unless="launch.cmd" message="Unsupported build platform" /> <!-- by default no args, overridable on the Ant command line with -Dargs="" --> - <property name="launch.args" value="" /> - <echo message="Launching ${launch.cmd} ${launch.args}" /> + <property name="args" value="" /> + <echo message="Launching ${launch.cmd} ${args}" /> <exec executable="${launch.cmd}" failonerror="true"> - <arg line="${launch.args}" /> + <arg line="${args}" /> </exec> </target> </project> |