seibert 2002/09/18 09:57:18
Modified: java/xmls targets.xml
Log:
Fix the "build doesn't fail in forked JVM" problem
Revision Changes Path
1.32 +1 -1 xml-axis/java/xmls/targets.xml
Index: targets.xml
===================================================================
RCS file: /home/cvs/xml-axis/java/xmls/targets.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- targets.xml 18 Sep 2002 14:39:08 -0000 1.31
+++ targets.xml 18 Sep 2002 16:57:18 -0000 1.32
@@ -3,7 +3,7 @@
=================================================================== -->
<target name="my-forking-ant">
<echo message="Forking a JVM for target ${target} in file ${file}"/>
- <java classname="org.apache.tools.ant.Main" fork="yes" dir="${dir}">
+ <java classname="org.apache.tools.ant.Main" fork="yes" failonerror="true"
dir="${dir}">
<classpath refid="classpath"/>
<arg line="-buildfile ${file} ${target}"/>
</java>