view numpuzzle/build.xml @ 23:489244127359

kopieckreta-0.240903-0
author Przemyslaw <prymula76@outlook.com>
date Mon, 01 Apr 2024 07:15:00 +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>