view numpuzzle/build.xml @ 1:84a8cf4ae913

immposiblerush-0.230919-0.1
author prymula <prymula76@outlook.com>
date Tue, 26 Sep 2023 21:47:56 +0200
parents 2787f5e749ae
children
line wrap: on
line source

<project>

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

    <target name="compile">
        <mkdir dir="build/classes"/>
        <javac srcdir="src" destdir="build/classes"/>
    </target>


    <target name="jar">
        <mkdir dir="build/jar"/>
        <jar destfile="build/jar/NumPuzzle.jar" basedir="build/classes">

            <manifest>
                <attribute name="Main-Class" value="numpuzzle.NumPuzzle"/>
            </manifest>
        </jar>
    </target>

    <target name="run">
        <java jar="build/jar/NumPuzzle.jar" fork="true"/>
    </target>

</project>