Source

NoCreeps / build.ant

Full commit
<project>
    <target name="clean">
            <delete dir="${builddir}"/>
    </target>

    <target name="build" depends="clean">
        <mkdir dir="${builddir}" />
        <javac srcdir="${srcdir}" destdir="${builddir}">
            <classpath>
                <pathelement location="${bukkitjar}"/>
            </classpath>
        </javac>
        <copy tofile="${builddir}/plugin.yml" file="${srcdir}/plugin.yml"/>
    </target>

    <target name="jar" depends="build">
        <jar destfile="${jardir}/NoCreeps.jar" basedir="${builddir}" includes="*.yaml *.class" />
    </target>
</project>