Make bootstrap run twice to avoid GUMP error emails.
git-svn-id: https://svn.apache.org/repos/asf/xmlbeans/trunk@1363870 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build.xml b/build.xml
index c8a5760..6c523da 100644
--- a/build.xml
+++ b/build.xml
@@ -243,7 +243,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}"/>