You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ce...@apache.org on 2012/08/02 20:46:00 UTC

svn commit: r1368641 - /xmlbeans/branches/1.x/build.xml

Author: cezar
Date: Thu Aug  2 18:45:59 2012
New Revision: 1368641

URL: http://svn.apache.org/viewvc?rev=1368641&view=rev
Log:
Run bootstrap twice, and consider as an error only if it fails the second time. Patch submited by Peter Keller pkeller@globalphasing.com .


Modified:
    xmlbeans/branches/1.x/build.xml

Modified: xmlbeans/branches/1.x/build.xml
URL: http://svn.apache.org/viewvc/xmlbeans/branches/1.x/build.xml?rev=1368641&r1=1368640&r2=1368641&view=diff
==============================================================================
--- xmlbeans/branches/1.x/build.xml (original)
+++ xmlbeans/branches/1.x/build.xml Thu Aug  2 18:45:59 2012
@@ -294,7 +294,11 @@
   <!-- bootstrap target ============================================== -->
 
   <target name="bootstrap" depends="xbean">
+        <subant target="bootstrappass" inheritAll="true" buildpath="." failonerror="false"/>
+        <subant target="bootstrappass" inheritAll="true" buildpath="." failonerror="true"/>
+    </target>
 
+  <target name="bootstrappass" depends="xbean">
     <!-- after xbean.jar is built, move it out of the way and clean the project -->
     <tempfile property="bootstrap.jarfile" prefix="oldxbean" suffix=".jar"/>
     <move file="build/ar/xbean.jar" tofile="${bootstrap.jarfile}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org