view kopieckreta/build.xml @ 22:b0c59d056e73

colorsmemory - typo
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 22:53:32 +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"/>
        <fileset file="slownik.txt" />
        <fileset file="bass-bad.wav" />
        <fileset file="smooth-ok.wav" />
				<fileset file="startscreen.jpg" />
    </target>


    <target name="jar">
        <mkdir dir="build/jar"/>
        <jar destfile="build/jar/KopiecKreta.jar" basedir="build/classes">
        <fileset file="slownik.txt" />
        <fileset file="bass-bad.wav" />
        <fileset file="smooth-ok.wav" />
				<fileset file="startscreen.jpg" />
            <manifest>
                <attribute name="Main-Class" value="src.KopiecKreta"/>
            </manifest>
        </jar>
    </target>

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

</project>