build.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0"?>
  2. <project name="Big Screen Bot" default="jar" basedir=".">
  3. <property name="bin" location="bin"/>
  4. <property name="lib" location="lib"/>
  5. <property name="src" location="src"/>
  6. <path id="classpath">
  7. <fileset dir="${lib}" includes="**/*.jar"/>
  8. </path>
  9. <target name="compile">
  10. <mkdir dir="${bin}"/>
  11. <javac
  12. srcdir="${src}"
  13. destdir="${bin}"
  14. classpathref="classpath"
  15. includeantruntime="yes"
  16. />
  17. </target>
  18. <target name="jar" depends="compile">
  19. <jar
  20. destfile="${bin}/bigscreenbot.jar"
  21. basedir="${bin}"
  22. includes="**/*.class">
  23. <manifest>
  24. <attribute
  25. name="Main-Class"
  26. value="net.douglasthrift.bigscreenbot.BigScreenBot"
  27. />
  28. </manifest>
  29. <restrict>
  30. <name name="**.*.class"/>
  31. <archives>
  32. <zips>
  33. <fileset dir="${lib}" includes="**/*.jar"/>
  34. </zips>
  35. </archives>
  36. </restrict>
  37. </jar>
  38. </target>
  39. <target name="clean">
  40. <delete dir="${bin}"/>
  41. </target>
  42. </project>
  43. <!-- vim: set expandtab: -->