Fixed build for windows

This commit is contained in:
Alex Huang 2012-09-10 17:20:39 -07:00
parent 1aa7a50cf2
commit 9095f0b268

View File

@ -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"/>