Author: hibou
Date: Sun Mar 24 22:05:20 2013
New Revision: 1460475
URL: http://svn.apache.org/r1460475
Log:
Reverting, I don't understand Windows...
Modified:
ant/core/trunk/launch-build.xml
Modified: ant/core/trunk/launch-build.xml
URL:
http://svn.apache.org/viewvc/ant/core/trunk/launch-build.xml?rev=1460475&r1=1460474&r2=1460475&view=diff
==============================================================================
--- ant/core/trunk/launch-build.xml (original)
+++ ant/core/trunk/launch-build.xml Sun Mar 24 22:05:20 2013
@@ -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>