Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0"?>
  2. <project name="ajdoc" 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="../org.aspectj.ajdt.core/build.xml"/>
  7. <path id="ajdoc.test.src.path">
  8. <fileset dir="${basedir}/../lib">
  9. <include name="junit/*.jar"/>
  10. </fileset>
  11. <path refid="ajdoc.src.path"/>
  12. <!-- test run -->
  13. <pathelement path="../runtime/bin"/>
  14. <pathelement path="../weaver/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. <fileset dir="${java.home}/../lib">
  22. <include name="tools.jar"/>
  23. </fileset>
  24. </path>
  25. <path id="ajdoc.src.path">
  26. <pathelement path="../asm/bin"/>
  27. <pathelement path="../bridge/bin"/>
  28. <pathelement path="../org.aspectj.ajdt.core/bin"/>
  29. <pathelement path="../util/bin"/>
  30. </path>
  31. <target name="compile" depends="init,
  32. asm.compile,
  33. bridge.compile,
  34. org.aspectj.ajdt.core.compile,
  35. util.compile">
  36. <srccompile project="ajdoc" path="ajdoc.src.path"/>
  37. </target>
  38. <target name="test:compile" depends="compile">
  39. <testcompile project="ajdoc" path="ajdoc.test.src.path"/>
  40. </target>
  41. <target name="test" depends="test:compile,
  42. runtime.compile,
  43. weaver.compile">
  44. <testrun project="ajdoc" path="ajdoc.test.src.path" suite="AjdocModuleTests"/>
  45. </target>
  46. <!-- override to remove generated doc directories -->
  47. <target name="cleanall" depends="init">
  48. <delete dir="${basedir}/ajdocworkingdir"/>
  49. <delete>
  50. <fileset dir="${basedir}/testdata" includes="*/doc/**/*"/>
  51. <fileset dir="${basedir}/testdata" includes="*/docdir/**/*"/>
  52. </delete>
  53. </target>
  54. <target name="jar" depends="compile">
  55. <delete file="${build.ajdir}/jars/ajdoc.jar"/>
  56. <copy file="ajdoc.mf.txt" todir="${build.ajdir}/temp" filtering="yes"/>
  57. <jar destfile="${build.ajdir}/jars/ajdoc.jar" manifest="${build.ajdir}/temp/ajdoc.mf.txt">
  58. <fileset dir="bin">
  59. <include name="**/*"/>
  60. </fileset>
  61. </jar>
  62. </target>
  63. </project>