You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

rjunit-ant-tests.xml 1.2 kB

12345678910111213141516171819202122232425262728293031323334
  1. <project name="rjunit-ant-tests" basedir="." default="ant-tests">
  2. <!--
  3. run ant tests. This is unusable if not running it
  4. via build.xml as it should inherits properties
  5. -->
  6. <taskdef classname="org.apache.tools.ant.taskdefs.optional.rjunit.RJUnitTask"
  7. name="rjunit">
  8. <classpath>
  9. <path location="${build.classes}"/>
  10. <path location="${java.dir}"/>
  11. <fileset dir="${lib.dir}" includes="**/*.jar"/>
  12. </classpath>
  13. </taskdef>
  14. <target name="ant-tests">
  15. <rjunit>
  16. <server port="6666">
  17. <formatter type="brief">
  18. <!--param name="file" location="junit-test-log.txt"/-->
  19. </formatter>
  20. </server>
  21. <client host="127.0.0.1" port="6666">
  22. <classpath>
  23. <fileset dir="${ant.lib.dir}" includes="**/*.jar"/>
  24. <path location="${ant.base.dir}/build/classes"/>
  25. <path location="${java.dir}"/>
  26. </classpath>
  27. <jvmarg value="-Xmx256MB"/>
  28. <batchtest path="${ant.base.dir}/build/testcases">
  29. <include name="**/*Test.class"/>
  30. </batchtest>
  31. </client>
  32. </rjunit>
  33. </target>
  34. </project>