You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by sb...@apache.org on 2002/02/02 02:36:39 UTC
cvs commit: jakarta-ant/proposal/sandbox/junit rjunit-ant-tests.xml
sbailliez 02/02/01 17:36:39
Added: proposal/sandbox/junit rjunit-ant-tests.xml
Log:
Handy build file to run ant tests via rjunit
Revision Changes Path
1.1 jakarta-ant/proposal/sandbox/junit/rjunit-ant-tests.xml
Index: rjunit-ant-tests.xml
===================================================================
<project name="rjunit-ant-tests" basedir="." default="ant-tests">
<!--
run ant tests. This is unusable if not running it
via build.xml as it should inherits properties
-->
<taskdef classname="org.apache.tools.ant.taskdefs.optional.rjunit.RJUnitTask"
name="rjunit">
<classpath>
<path location="${build.classes}"/>
<path location="${java.dir}"/>
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</classpath>
</taskdef>
<target name="ant-tests">
<rjunit>
<server port="6666">
<formatter type="brief">
<!--param name="file" location="junit-test-log.txt"/-->
</formatter>
</server>
<client host="127.0.0.1" port="6666">
<classpath>
<fileset dir="${ant.lib.dir}" includes="**/*.jar"/>
<path location="${ant.base.dir}/build/classes"/>
<path location="${java.dir}"/>
</classpath>
<jvmarg value="-Xmx256MB"/>
<batchtest path="${ant.base.dir}/build/testcases">
<include name="**/*Test.class"/>
</batchtest>
</client>
</rjunit>
</target>
</project>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>