Updated Branches: refs/heads/master 1aa7a50cf -> 9095f0b26
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/master Commit: 9095f0b2689d8091be4eb5bd1ac795139a7ae98d Parents: 1aa7a50 Author: Alex Huang <[email protected]> Authored: Mon Sep 10 17:20:39 2012 -0700 Committer: Alex Huang <[email protected]> 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"/>
