Author: nickboldt
Date: 2010-04-29 11:54:37 -0400 (Thu, 29 Apr 2010)
New Revision: 21796
Modified:
branches/modular_build/build/build.xml
Log:
move "clean install" into MAVEN_OPTS default so that same build.xml can be used
with "osgi-test:test" target instead; set some other default flags for Maven (-B
-fn -q)
Modified: branches/modular_build/build/build.xml
===================================================================
--- branches/modular_build/build/build.xml 2010-04-29 15:20:02 UTC (rev 21795)
+++ branches/modular_build/build/build.xml 2010-04-29 15:54:37 UTC (rev 21796)
@@ -297,7 +297,7 @@
<target name="run.build">
<!-- could set -Dmaven.test.skip to skip tests, etc. -->
- <property name="MAVEN_FLAGS" value="" />
+ <property name="MAVEN_FLAGS" value="clean install -B -fn -q"
/>
<for param="COMPONENT" list="${COMPONENTS.to.build}"
delimiter=",
">
<sequential>
@@ -319,7 +319,7 @@
<env key="MAVEN_OPTS" value="-Xms512m -Xmx1024m -XX:PermSize=128m
-XX:MaxPermSize=256m" />
<!-- more debug output with <env key="MAVEN_OPTS"
value="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"/> -->
<!-- <arg line="-o -Dmaven.test.skip" /> -->
- <arg line="${MAVEN_FLAGS} -Dmaven.repo.local=${COMMON_TOOLS}/m2-repository
clean install" />
+ <arg line="${MAVEN_FLAGS}
-Dmaven.repo.local=${COMMON_TOOLS}/m2-repository" />
</exec>
<antcall target="collect.test.results">
<param name="COMPONENT" value="@{COMPONENT}" />
Show replies by date