view numpuzzle/build.xml @ 4:0962f0296c8a

ColorsMemory-0.210503-1.1
author prymula <prymula76@outlook.com>
date Tue, 30 Jan 2024 16:43:10 +0100
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>