Author: hibou
Date: Sun Mar 24 21:57:14 2013
New Revision: 1460474

URL: http://svn.apache.org/r1460474
Log:
Handle space in path and fix echo

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=1460474&r1=1460473&r2=1460474&view=diff
==============================================================================
--- ant/core/trunk/launch-build.xml (original)
+++ ant/core/trunk/launch-build.xml Sun Mar 24 21:57:14 2013
@@ -29,7 +29,7 @@
     <condition property="launch.cmd" value="cmd.exe">
         <os family="windows" />
     </condition>
-    <condition property="launch.args" value="/C &quot;${basedir}/build.bat 
${args}&quot;">
+    <condition property="launch.args" value="/C 
&apos;&quot;${basedir}/build.bat&quot; ${args}&apos;">
         <os family="windows" />
     </condition>
     <property name="launch.args" value="${args}" />
@@ -37,8 +37,8 @@
     <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="args" value="" />
-        <echo message="Launching ${launch.cmd} ${args}" />
+        <property name="launch.args" value="" />
+        <echo message="Launching ${launch.cmd} ${launch.args}" />
         <exec executable="${launch.cmd}" failonerror="true">
             <arg line="${launch.args}" />
         </exec>


Reply via email to