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.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0"?>
  2. <project name="testing-util" default="all" basedir=".">
  3. <import file="../build/build-common.xml"/>
  4. <import file="../bridge/build.xml"/>
  5. <import file="../util/build.xml"/>
  6. <import file="../runtime/build.xml"/>
  7. <path id="testing-util.test.src.path">
  8. <fileset dir="${basedir}/../lib">
  9. <include name="junit/*.jar"/>
  10. <include name="bcel/*.jar"/>
  11. </fileset>
  12. <!-- depends on weaver to use Dissasemble feature on LazyClassGen to test comparison of .class file -->
  13. <pathelement path="../weaver/bin"/>
  14. <pathelement path="../runtime/bin"/>
  15. <path refid="testing-util.src.path"/>
  16. </path>
  17. <path id="testing-util.src.path">
  18. <fileset dir="${basedir}/../lib">
  19. <include name="jdiff/*.jar"/>
  20. </fileset>
  21. <pathelement path="../bridge/bin"/>
  22. <pathelement path="../util/bin"/>
  23. </path>
  24. <target name="compile" depends="init,
  25. bridge.compile,
  26. util.compile">
  27. <srccompile project="testing-util" path="testing-util.src.path"/>
  28. </target>
  29. <target name="test:compile" depends="compile">
  30. <testcompile project="testing-util" path="testing-util.test.src.path"/>
  31. </target>
  32. <target name="test" depends="test:compile,
  33. runtime.compile">
  34. <!-- depends on weaver to access .class dissassemble utility hence circular -->
  35. <subant antfile="build.xml" target="test:compile" buildpath="../weaver" />
  36. <testrun project="testing-util" path="testing-util.test.src.path" suite="TestingUtilModuleTests"/>
  37. </target>
  38. </project>