You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2013/03/24 22:49:51 UTC
svn commit: r1460473 - /ant/core/trunk/launch-build.xml
Author: hibou
Date: Sun Mar 24 21:49:50 2013
New Revision: 1460473
URL: http://svn.apache.org/r1460473
Log:
Trying cmd.exe /C build.bat
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=1460473&r1=1460472&r2=1460473&view=diff
==============================================================================
--- ant/core/trunk/launch-build.xml (original)
+++ ant/core/trunk/launch-build.xml Sun Mar 24 21:49:50 2013
@@ -23,12 +23,16 @@
<property name="args" value="allclean test -Dignore.tests.failed=true -Doptional.jars.whenmanifestonly=skip" />
- <condition property="launch.cmd" value="./build.sh">
+ <condition property="launch.cmd" value="${basedir}/build.sh">
<os family="unix" />
</condition>
- <condition property="launch.cmd" value="build.bat">
+ <condition property="launch.cmd" value="cmd.exe">
<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" />
@@ -36,7 +40,7 @@
<property name="args" value="" />
<echo message="Launching ${launch.cmd} ${args}" />
<exec executable="${launch.cmd}" failonerror="true">
- <arg line="${args}" />
+ <arg line="${launch.args}" />
</exec>
</target>
</project>