From: <bo...@us...> - 2008-06-06 13:07:16
|
Revision: 265 http://xmlunit.svn.sourceforge.net/xmlunit/?rev=265&view=rev Author: bodewig Date: 2008-06-06 06:07:18 -0700 (Fri, 06 Jun 2008) Log Message: ----------- allow command line control over forking/not-forking of <junit> Modified Paths: -------------- trunk/xmlunit/build.xml Modified: trunk/xmlunit/build.xml =================================================================== --- trunk/xmlunit/build.xml 2008-06-06 12:49:58 UTC (rev 264) +++ trunk/xmlunit/build.xml 2008-06-06 13:07:18 UTC (rev 265) @@ -57,6 +57,9 @@ <property name="javac.target" value="1.3"/> <property name="javac.debug" value="true"/> + <!-- junit task properties --> + <property name="junit.fork" value="yes"/> + <!-- some library paths --> <!-- where is JAXP? property name="${xmlxsl.lib}" location="."/ --> <!-- where is JUnit? property name="${junit.lib}" location="."/ --> @@ -126,7 +129,7 @@ <target name="test" depends="compile" description="runs the tests"> - <junit printsummary="yes" haltonfailure="no" fork="yes" + <junit printsummary="yes" haltonfailure="no" fork="${junit.fork}" forkMode="perBatch" failureproperty="tests.failed"> <sysproperty key="basedir" value="${basedir}"/> <sysproperty key="user.dir" value="${basedir}"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |