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 881B

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project name="Java Bytecode" default="all" basedir="." xmlns:sonar="antlib:org.sonar.ant">
  3. <property name="lib.dir" value="../ant-libs"/>
  4. <property name="build.dir" value="build"/>
  5. <property name="classes.dir" value="${build.dir}/classes"/>
  6. <path id="classpath">
  7. <fileset dir="./lib" includes="*.jar" />
  8. </path>
  9. <target name="clean" description="Remove all files created by the build process.">
  10. <delete dir="${build.dir}" />
  11. </target>
  12. <target name="init">
  13. <mkdir dir="${build.dir}" />
  14. <mkdir dir="${classes.dir}" />
  15. </target>
  16. <target name="compile" depends="init">
  17. <javac destdir="${classes.dir}" classpathref="classpath" fork="true" debug="true" includeAntRuntime="false">
  18. <src path="src"/>
  19. </javac>
  20. </target>
  21. <target name="all"
  22. depends="clean,compile" />
  23. </project>