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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0"?>
  2. <project name="loadtime5" default="all" basedir=".">
  3. <import file="../build/build-common.xml"/>
  4. <import file="../asm/build.xml"/>
  5. <import file="../bridge/build.xml"/>
  6. <import file="../loadtime/build.xml"/>
  7. <import file="../weaver/build.xml"/>
  8. <import file="../util/build.xml"/>
  9. <import file="../runtime/build.xml/"/>
  10. <import file="../aspectj5rt/build.xml"/>
  11. <path id="loadtime5.src.path">
  12. <pathelement path="../asm/bin"/>
  13. <pathelement path="../bridge/bin"/>
  14. <pathelement path="../loadtime/bin"/>
  15. <pathelement path="../weaver/bin"/>
  16. <fileset dir="${basedir}/../lib">
  17. <include name="bcel/*.jar"/>
  18. </fileset>
  19. </path>
  20. <target name="compile" depends="init,
  21. asm.compile,
  22. bridge.compile,
  23. loadtime.compile,
  24. weaver.compile" if="jdk15">
  25. <!-- FIXME: we override compile due to use of 1.5 -->
  26. <mkdir dir="${basedir}/bin"/>
  27. <javac debug="on" destdir="${basedir}/bin" source="1.5" target="1.5">
  28. <src path="${basedir}/java5-src"/>
  29. <classpath refid="loadtime5.src.path"/>
  30. </javac>
  31. </target>
  32. <target name="jar" depends="compile">
  33. <delete file="${build.ajdir}/jars/loadtime5.jar"/>
  34. <copy file="loadtime5.mf.txt" todir="${build.ajdir}/temp" filtering="yes"/>
  35. <jar destfile="${build.ajdir}/jars/loadtime5.jar" manifest="${build.ajdir}/temp/loadtime5.mf.txt">
  36. <fileset dir="bin">
  37. <include name="**/*"/>
  38. </fileset>
  39. </jar>
  40. <!-- FIXME AV we can push it to lib/test as well for the AntSpec need -->
  41. </target>
  42. </project>