Last active
December 22, 2015 12:18
-
-
Save swgillespie/6471013 to your computer and use it in GitHub Desktop.
Sample ANT file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="YourProjectName" default="build" basedir="."> | |
<description> | |
YOUR DESCRIPTION GOES HERE | |
</description> | |
<!-- Properties --> | |
<property name="src" location="src/"/> | |
<property name="bin" location="bin/"/> | |
<target name="init"> | |
<mkdir dir="${bin}"/> | |
</target> | |
<target name="compile" depends="init"> | |
<javac srcdir="${src}" destdir="${bin}" includeantruntime="true" debug="on"/> | |
</target> | |
<target name="build" depends="compile"> | |
<jar jarfile="YOURPROJECT.jar" basedir="${bin}" manifest="MANIFEST.txt"/> | |
</target> | |
<target name="clean"> | |
<delete dir="${bin}"/> | |
</target> | |
</project> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment