Author: nickboldt
Date: 2010-05-05 11:56:49 -0400 (Wed, 05 May 2010)
New Revision: 21910
Modified:
branches/modular_build/build/build.xml
Log:
only do a purge ONCE, not per component
Modified: branches/modular_build/build/build.xml
===================================================================
--- branches/modular_build/build/build.xml 2010-05-05 15:44:39 UTC (rev 21909)
+++ branches/modular_build/build/build.xml 2010-05-05 15:56:49 UTC (rev 21910)
@@ -53,7 +53,7 @@
or, to purge the local repo before building:
cd /home/nboldt/workspace36/jbosstools-modular_build; \
- ant -DMAVEN_FLAGS="dependency:purge-local-repository clean install"
+ ant clean-run
or, to build specific module(s):
cd /home/nboldt/workspace36/jbosstools-modular_build; \
@@ -92,6 +92,19 @@
</target>
<!-- ******************* MAIN ENTRY TARGETS ******************* -->
+ <target name="clean-run"
+ description="purge m2 repo, then run build"
+ depends="purge, run"
+ />
+
+ <target name="purge" depends="init">
+ <antcall target="mvn">
+ <param name="COMPONENT" value="site" />
+ <param name="MAVEN_FLAGS" value="dependency:purge-local-repository
-q -B -fae" />
+ <param name="noXvfb" value="true" />
+ </antcall>
+ </target>
+
<target name="run"
description="run a build, collect test results, generate overall update
site"
depends="build, collect.all.test.results, create.overall.update.site"
@@ -106,6 +119,7 @@
description="run tests w/o first getting sources + list of components to
build; assumes an upstream build job was already run"
depends="init, get.bootstrap.scripts, get.components.to.test, run.build,
collect.all.test.results"
/>
+
<!-- ******************* MAIN ENTRY TARGETS ******************* -->
<!-- override for local build -->
Show replies by date