You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2012/09/11 02:20:52 UTC

git commit: Fixed build for windows

Updated Branches:
  refs/heads/4.0 f2f15ca45 -> 9c7ae1ead


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/9c7ae1ea
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9c7ae1ea
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9c7ae1ea

Branch: refs/heads/4.0
Commit: 9c7ae1eadc5be7e615d886be0427b55a7d0f07f2
Parents: f2f15ca
Author: Alex Huang <al...@citrix.com>
Authored: Mon Sep 10 17:20:39 2012 -0700
Committer: Alex Huang <al...@citrix.com>
Committed: Mon Sep 10 17:20:39 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/9c7ae1ea/build/build-cloud.xml
----------------------------------------------------------------------
diff --git a/build/build-cloud.xml b/build/build-cloud.xml
index 3a1291f..a6823d5 100755
--- a/build/build-cloud.xml
+++ b/build/build-cloud.xml
@@ -567,8 +567,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"/>