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

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