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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0"?>
  2. <project name="testing" default="all" basedir=".">
  3. <import file="../build-common.xml"/>
  4. <import file="../ajde/build.xml"/>
  5. <import file="../bridge/build.xml"/>
  6. <import file="../taskdefs/build.xml"/>
  7. <path id="testing.test.src.path">
  8. <path refid="testing.src.path"/>
  9. <fileset dir="${basedir}/../lib">
  10. <include name="junit/*.jar"/>
  11. </fileset>
  12. <!-- for test run -->
  13. <pathelement path="../org.aspectj.ajdt.core/bin"/>
  14. <pathelement path="../weaver/bin"/>
  15. <pathelement path="../runtime/bin"/>
  16. <fileset dir="${basedir}/../org.eclipse.jdt.core">
  17. <include name="*.jar"/>
  18. </fileset>
  19. <fileset dir="${basedir}/../lib">
  20. <include name="bcel/*.jar"/>
  21. </fileset>
  22. </path>
  23. <path id="testing.src.path">
  24. <pathelement path="../ajde/bin"/>
  25. <pathelement path="../asm/bin"/>
  26. <pathelement path="../bridge/bin"/>
  27. <pathelement path="../taskdefs/bin"/>
  28. <pathelement path="../testing-util/bin"/>
  29. <pathelement path="../util/bin"/>
  30. <fileset dir="${basedir}/../lib">
  31. <include name="commons/*.jar"/>
  32. </fileset>
  33. <!-- for newsrc -->
  34. <pathelement path="../org.aspectj.ajdt.core/bintest"/>
  35. </path>
  36. <target name="compile" depends="init,
  37. ajde.compile,
  38. asm.compile,
  39. bridge.compile,
  40. taskdefs.compile,
  41. testing-util.compile,
  42. util.compile">
  43. <srccompile project="testing" path="testing.src.path"/>
  44. <!-- TODO : what for ?? compile newsrc... (Alex don't know what for ... ) -->
  45. <!-- TODO: + leads to circular deps since reli on ajdt testsrc (*test*src !!) -->
  46. <!-- <javac debug="on" destdir="../testing/bin" source="1.2" target="1.1">-->
  47. <!-- <src path="../testing/newsrc"/>-->
  48. <!-- <classpath refid="testing.src.path"/>-->
  49. <!-- </javac>-->
  50. </target>
  51. <target name="test:compile" depends="compile">
  52. <testcompile project="testing" path="testing.test.src.path"/>
  53. </target>
  54. <target name="test" depends="test:compile,
  55. org.aspectj.ajdt.core.compile,
  56. weaver.compile,
  57. runtime.compile">
  58. <testrun project="testing" path="testing.test.src.path" suite="TestingModuleTests"/>
  59. </target>
  60. </project>