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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0"?>
  2. <project name="ajbrowser" default="all" basedir=".">
  3. <import file="../build/build-common.xml"/>
  4. <import file="../ajde/build.xml"/>
  5. <import file="../asm/build.xml"/>
  6. <import file="../bridge/build.xml"/>
  7. <path id="ajbrowser.test.src.path">
  8. <path refid="ajbrowser.src.path"/>
  9. <fileset dir="${basedir}/../lib">
  10. <include name="junit/*.jar"/>
  11. </fileset>
  12. </path>
  13. <path id="ajbrowser.src.path">
  14. <pathelement path="../asm/bin"/>
  15. <pathelement path="../bridge/bin"/>
  16. <pathelement path="../ajde/bin"/>
  17. <pathelement path="../util/bin"/>
  18. </path>
  19. <target name="compile" depends="init,
  20. ajde.compile,
  21. asm.compile,
  22. bridge.compile,
  23. util.compile">
  24. <srccompile project="ajbrowser" path="ajbrowser.src.path"/>
  25. </target>
  26. <target name="test:compile" depends="compile">
  27. <testcompile project="ajbrowser" path="ajbrowser.test.src.path"/>
  28. </target>
  29. <target name="test" depends="test:compile">
  30. <testrun project="ajbrowser" path="ajbrowser.test.src.path" suite="AjbrowserModuleTests"/>
  31. </target>
  32. <target name="jar" depends="compile">
  33. <delete file="${build.ajdir}/jars/ajbrowser.jar"/>
  34. <copy file="ajbrowser.mf.txt" todir="${build.ajdir}/temp" filtering="yes"/>
  35. <jar destfile="${build.ajdir}/jars/ajbrowser.jar" manifest="${build.ajdir}/temp/ajbrowser.mf.txt">
  36. <fileset dir="bin">
  37. <include name="**/*"/>
  38. </fileset>
  39. </jar>
  40. </target>
  41. </project>