ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1460475 - /ant/core/trunk/launch-build.xml
Date Sun, 24 Mar 2013 22:05:20 GMT
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 &apos;&quot;${basedir}/build.bat&quot;
${args}&apos;">
-        <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>



Mime
View raw message