You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2006/03/31 19:11:58 UTC
svn commit: r390461 - /beehive/trunk/maven/build.xml
Author: ekoneil
Date: Fri Mar 31 09:11:56 2006
New Revision: 390461
URL: http://svn.apache.org/viewcvs?rev=390461&view=rev
Log:
Add win32 support to the "install.m2" target.
BB: self
Test: well, it works on win32 now. :)
Modified:
beehive/trunk/maven/build.xml
Modified: beehive/trunk/maven/build.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/maven/build.xml?rev=390461&r1=390460&r2=390461&view=diff
==============================================================================
--- beehive/trunk/maven/build.xml (original)
+++ beehive/trunk/maven/build.xml Fri Mar 31 09:11:56 2006
@@ -61,7 +61,15 @@
<attribute name="resource"/>
<sequential>
<property name="root.dir" location="${_maven.dir}/m2/org/apache/beehive"/>
- <exec executable="mvn" failonerror="true">
+
+ <condition property="_cmd" value="mvn.bat">
+ <os family="windows"/>
+ </condition>
+ <condition property="_cmd" value="mvn">
+ <not><os family="windows"/></not>
+ </condition>
+
+ <exec executable="${_cmd}" failonerror="true">
<arg line="install:install-file -Dfile=${root.dir}/@{resource}/${beehive.version}/@{resource}-${beehive.version}.jar -DgroupId=${_maven.groupid} -DartifactId=@{resource} -Dversion=${beehive.version} -Dpackaging=jar"/>
</exec>
</sequential>