22 lines
604 B
XML
22 lines
604 B
XML
<?xml version="1.0"?>
|
|
<project name="LearningJava" default="compile">
|
|
|
|
<target name="clean" description="remove intermediate files">
|
|
<delete>
|
|
<fileset dir="obj" includes="**/*.class" />
|
|
</delete>
|
|
</target>
|
|
|
|
<target name="build" description="compile Java sources">
|
|
<javac srcdir="src" destdir="obj" />
|
|
</target>
|
|
|
|
<target name="jar" depends="build"
|
|
description="create Jar from compiled sources">
|
|
<jar destfile="dist/learning-java.jar">
|
|
<fileset dir="obj" includes="**/*.class" />
|
|
</jar>
|
|
</target>
|
|
|
|
</project>
|