incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [40/41] git commit: Fixed build for windows
Date Wed, 12 Sep 2012 06:43:30 GMT
Fixed build for windows


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9095f0b2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9095f0b2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9095f0b2

Branch: refs/heads/4.0
Commit: 9095f0b2689d8091be4eb5bd1ac795139a7ae98d
Parents: 1aa7a50
Author: Alex Huang <alex.huang@citrix.com>
Authored: Mon Sep 10 17:20:39 2012 -0700
Committer: Alex Huang <alex.huang@citrix.com>
Committed: Mon Sep 10 17:21:34 2012 -0700

----------------------------------------------------------------------
 build/build-cloud.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9095f0b2/build/build-cloud.xml
----------------------------------------------------------------------
diff --git a/build/build-cloud.xml b/build/build-cloud.xml
index 014c75b..b101dd2 100755
--- a/build/build-cloud.xml
+++ b/build/build-cloud.xml
@@ -583,8 +583,11 @@
     <mkdir dir="${docs.dir}" />
     <mkdir dir="${dep.cache.dir}" />
 
+    <condition property="mvn" value="mvn.bat" else="mvn">
+      <os family="Windows"/>
+    </condition>
     <!-- Download all dependencies using maven -->
-    <exec executable="mvn" failifexecutionfails="false">
+    <exec executable="${mvn}" resolveexecutable="true" searchpath="true" failifexecutionfails="false">
       <arg value="-P"/>
       <arg value="deps"/>
       <arg value="-pl"/>


Mime
View raw message