<project name="javacsv" default="dist" basedir=".">
<!-- set global properties for this build -->
<property name="src" location="src" />
<property name="build" location="build" />
<target name="init">
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}" />
</target>
<target name="compile" depends="init" description="compile the source ">
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}" encoding="ISO_8859_1" source="1.4" includeantruntime="false">
<exclude name="**/AllTests.java" />
</javac>
</target>
<target name="dist" depends="compile" description="generate the distribution">
<jar jarfile="javacsv.jar" basedir="${build}" />
<delete dir="${build}" />
</target>
</project>