<project>

    <path id="classpath">
        <fileset dir="/usr/share/java" includes="*.jar"/>
    </path>

    <target name="clean">
        <delete dir="build"/>
    </target>

    <target name="build">
        <mkdir dir="build/classes"/>
        <javac srcdir=".." destdir="build/classes" classpathref="classpath"/>
        <mkdir dir="build/jar"/>
        <jar destfile="build/jar/java3ds-fileloader.jar" basedir="build/classes">
            <manifest>
                <attribute name="Title" value="Java3D 3DS File Loader"/>
                <attribute name="Main-Class" value="com.microcrowd.loader.java3d.max3ds.Main"/>
            </manifest>
        </jar>
    </target>

</project>
