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

build.xml 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0"?>
  2. <project name="testing-util" default="all" basedir=".">
  3. <import file="../build-common.xml"/>
  4. <import file="../bridge/build.xml"/>
  5. <import file="../util/build.xml"/>
  6. <path id="testing-util.test.src.path">
  7. <fileset dir="${basedir}/../lib">
  8. <include name="junit/*.jar"/>
  9. </fileset>
  10. <path refid="testing-util.src.path"/>
  11. </path>
  12. <path id="testing-util.src.path">
  13. <fileset dir="${basedir}/../lib">
  14. <include name="jdiff/*.jar"/>
  15. </fileset>
  16. <pathelement path="../bridge/bin"/>
  17. <pathelement path="../util/bin"/>
  18. </path>
  19. <target name="compile" depends="init,
  20. bridge.compile,
  21. util.compile">
  22. <srccompile project="testing-util" path="testing-util.src.path"/>
  23. </target>
  24. <target name="test:compile" depends="compile">
  25. <testcompile project="testing-util" path="testing-util.test.src.path"/>
  26. </target>
  27. <!-- FIXME: seems to depend on weaver, seems to emit warnings -->
  28. <target name="test" depends="test:compile">
  29. <testrun project="testing-util" path="testing-util.test.src.path" suite="TestingUtilModuleTests"/>
  30. </target>
  31. </project>