Ant Bikin Jar Pertama

<project name=”VcsConverterLibrary” default=”jar”>

<target name=”delete”>
<mkdir dir=”dist” />
<mkdir dir=”build/classes” />
</target>
<target name=”build” depends=”delete”>
<mkdir dir=”dist” />
<mkdir dir=”build/classes” />
</target>

<target name=”compile” depends=”build”>
<javac srcdir=”src” destdir=”build/classes”></javac>
</target>

<target name=”jar” depends=”compile”>
<jar destfile=”dist/VcsConverterLibrary.jar” basedir=”build/classes”></jar>
</target>

</project>

Leave a Reply

Your email address will not be published. Required fields are marked *