Browse Source

Reverting, I don't understand Windows...

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

+ 4
- 8
launch-build.xml View File

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

Loading…
Cancel
Save