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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0"?>
  2. <project name="weaver" default="all" basedir=".">
  3. <import file="../build-common.xml"/>
  4. <import file="../asm/build.xml"/>
  5. <import file="../runtime/build.xml"/>
  6. <import file="../util/build.xml"/>
  7. <import file="../testing-util/build.xml"/>
  8. <path id="weaver.test.src.path">
  9. <pathelement path="../testing-util/bin"/>
  10. <fileset dir="${basedir}/../lib">
  11. <include name="junit/*.jar"/>
  12. <include name="jdiff/*.jar"/>
  13. </fileset>
  14. <path refid="weaver.src.path"/>
  15. </path>
  16. <path id="weaver.src.path">
  17. <pathelement path="../asm/bin"/>
  18. <pathelement path="../bridge/bin"/>
  19. <pathelement path="../runtime/bin"/>
  20. <pathelement path="../util/bin"/>
  21. <fileset dir="${basedir}/../lib">
  22. <include name="bcel/*.jar"/>
  23. </fileset>
  24. </path>
  25. <target name="compile" depends="init,
  26. asm.compile,
  27. bridge.compile,
  28. runtime.compile,
  29. util.compile">
  30. <srccompile project="weaver" path="weaver.src.path"/>
  31. <!-- copy resources -->
  32. <copy todir="../weaver/bin">
  33. <fileset dir="../weaver/src" includes="**/*.properties"/>
  34. </copy>
  35. </target>
  36. <target name="test:compile" depends="compile,
  37. testing-util.compile">
  38. <testcompile project="weaver" path="weaver.test.src.path"/>
  39. </target>
  40. <target name="test" depends="test:compile">
  41. <testrun project="weaver" path="weaver.test.src.path" suite="org.aspectj.weaver.BcweaverModuleTests"/>
  42. </target>
  43. </project>