Browse Source

Handle space in path and fix echo

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1460474 13f79535-47bb-0310-9956-ffa450edef68
master
Nicolas Lalevee 12 years ago
parent
commit
dc0415802c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      launch-build.xml

+ 3
- 3
launch-build.xml View File

@@ -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>


Loading…
Cancel
Save