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

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