[jboss-cvs] JBossAS SVN: r70815 - trunk/build.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Mar 13 08:43:28 EDT 2008
Author: dimitris at jboss.org
Date: 2008-03-13 08:43:28 -0400 (Thu, 13 Mar 2008)
New Revision: 70815
Modified:
trunk/build/build.xml
Log:
execute 'mvn' or 'mvn.bat' depending on the host os
Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml 2008-03-13 12:20:23 UTC (rev 70814)
+++ trunk/build/build.xml 2008-03-13 12:43:28 UTC (rev 70815)
@@ -912,12 +912,12 @@
<!-- the build -->
<target name="createthirdparty" unless="inhibit.downloads"
depends="check.inhibit.downloads, set.proxy">
- <exec executable="mvn" os="unix" dir="../thirdparty">
+ <condition property="mvn.cmd" value="mvn.bat" else="mvn">
+ <os family="windows"/>
+ </condition>
+ <exec executable="${mvn.cmd}" dir="../thirdparty">
<arg line="package"/>
</exec>
- <exec executable="mvn.bat" os="windows" dir="../thirdparty">
- <arg line="package"/>
- </exec>
</target>
<!-- check if thirdparty libraries are to be downloaded -->
More information about the jboss-cvs-commits
mailing list