|
@@ -23,12 +23,16 @@ |
|
|
|
|
|
|
|
|
<property name="args" value="allclean test -Dignore.tests.failed=true -Doptional.jars.whenmanifestonly=skip" /> |
|
|
<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" /> |
|
|
<os family="unix" /> |
|
|
</condition> |
|
|
</condition> |
|
|
<condition property="launch.cmd" value="build.bat"> |
|
|
|
|
|
|
|
|
<condition property="launch.cmd" value="cmd.exe"> |
|
|
<os family="windows" /> |
|
|
<os family="windows" /> |
|
|
</condition> |
|
|
</condition> |
|
|
|
|
|
<condition property="launch.args" value="/C "${basedir}/build.bat ${args}""> |
|
|
|
|
|
<os family="windows" /> |
|
|
|
|
|
</condition> |
|
|
|
|
|
<property name="launch.args" value="${args}" /> |
|
|
|
|
|
|
|
|
<target name="launch"> |
|
|
<target name="launch"> |
|
|
<fail unless="launch.cmd" message="Unsupported build platform" /> |
|
|
<fail unless="launch.cmd" message="Unsupported build platform" /> |
|
@@ -36,7 +40,7 @@ |
|
|
<property name="args" value="" /> |
|
|
<property name="args" value="" /> |
|
|
<echo message="Launching ${launch.cmd} ${args}" /> |
|
|
<echo message="Launching ${launch.cmd} ${args}" /> |
|
|
<exec executable="${launch.cmd}" failonerror="true"> |
|
|
<exec executable="${launch.cmd}" failonerror="true"> |
|
|
<arg line="${args}" /> |
|
|
|
|
|
|
|
|
<arg line="${launch.args}" /> |
|
|
</exec> |
|
|
</exec> |
|
|
</target> |
|
|
</target> |
|
|
</project> |
|
|
</project> |