Author: nickboldt
Date: 2011-03-07 11:45:55 -0500 (Mon, 07 Mar 2011)
New Revision: 29573
Modified:
branches/jbosstools-3.2.x/build/target-platform/build.xml
Log:
make p2.mirror task fail on error to block downstream process and avoid a successful job
when mirroring fails
Modified: branches/jbosstools-3.2.x/build/target-platform/build.xml
===================================================================
--- branches/jbosstools-3.2.x/build/target-platform/build.xml 2011-03-07 15:57:20 UTC (rev
29572)
+++ branches/jbosstools-3.2.x/build/target-platform/build.xml 2011-03-07 16:45:55 UTC (rev
29573)
@@ -185,7 +185,7 @@
<!-- /abs/path/to/eclipse -vm /opt/jdk1.6.0/bin/java -nosplash -data /tmp/workspace
-consolelog -application
org.eclipse.ant.core.antRunner -f *.target.p2mirror.xml -Ddebug=true
-DfollowStrict=true -DrepoDir=/tmp/REPO/ -->
<target name="run.p2mirror.script" description="build target update
site using p2.mirror">
- <exec
executable="${WORKINGDIR}/eclipse-${eclipse.version}/eclipse/eclipse"
dir="${basedir}">
+ <exec
executable="${WORKINGDIR}/eclipse-${eclipse.version}/eclipse/eclipse"
dir="${basedir}" failonerror="true">
<arg line=" -nosplash -data ${tmpdir}/workspace -consolelog -application
org.eclipse.ant.core.antRunner" />
<arg line=" -f ${targetFile}.p2mirror.xml -DfollowStrict=true
-DrepoDir=${repoDir}" />
<arg line=" -Ddebug=true" />
Show replies by date