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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0"?>
  2. <project name="ajde" default="all" basedir=".">
  3. <import file="../build/build-common.xml"/>
  4. <import file="../runtime/build.xml"/>
  5. <import file="../org.aspectj.ajdt.core/build.xml"/>
  6. <path id="ajde.test.src.path">
  7. <path refid="ajde.src.path"/>
  8. <pathelement path="../org.aspectj.ajdt.core/bintest"/>
  9. <pathelement path="../weaver/bin"/>
  10. <pathelement path="../runtime/bin"/>
  11. <fileset dir="${basedir}/../lib">
  12. <include name="bcel/*.jar"/>
  13. <include name="junit/*.jar"/>
  14. </fileset>
  15. </path>
  16. <path id="ajde.src.path">
  17. <fileset dir="${basedir}/../org.eclipse.jdt.core">
  18. <include name="*.jar"/>
  19. </fileset>
  20. <pathelement path="../asm/bin"/>
  21. <pathelement path="../bridge/bin"/>
  22. <pathelement path="../org.aspectj.ajdt.core/bin"/>
  23. <pathelement path="../util/bin"/>
  24. </path>
  25. <target name="compile" depends="init,
  26. asm.compile,
  27. bridge.compile,
  28. org.aspectj.ajdt.core.compile,
  29. util.compile">
  30. <srccompile project="ajde" path="ajde.src.path"/>
  31. <!-- copy resources -->
  32. <copy todir="../ajde/bin">
  33. <fileset dir="../ajde/src" includes="**/*.gif"/>
  34. </copy>
  35. </target>
  36. <target name="test:compile" depends="compile,
  37. org.aspectj.ajdt.core.test:compile,
  38. weaver.test:compile">
  39. <testcompile project="ajde" path="ajde.test.src.path"/>
  40. </target>
  41. <target name="test" depends="test:compile,
  42. runtime.compile">
  43. <testrun project="ajde" path="ajde.test.src.path" suite="AjdeModuleTests"/>
  44. </target>
  45. <target name="jar" depends="compile">
  46. <delete file="${build.ajdir}/jars/ajde.jar"/>
  47. <zip destfile="${build.ajdir}/jars/ajde.jar">
  48. <fileset dir="bin">
  49. <include name="**/*"/>
  50. </fileset>
  51. </zip>
  52. </target>
  53. </project>