view immposiblerush/build.xml @ 12:24d60bdea349

ClonneChannel
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 20:24:27 +0100
parents 2787f5e749ae
children
line wrap: on
line source

<project>

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

    <target name="compile">
        <mkdir dir="build/classes"/>
        <javac srcdir="src" destdir="build/classes"/>
        <fileset file="res/square.png" />
        <fileset file="res/balls.png" />
		<fileset file="res/startscreen.png" />
		<fileset file="res/gameover.png" />
		<fileset file="res/0.png" />
        <fileset file="res/1.png" />
        <fileset file="res/2.png" />
        <fileset file="res/3.png" />
        <fileset file="res/4.png" />
        <fileset file="res/5.png" />
        <fileset file="res/6.png" />
        <fileset file="res/7.png" />
        <fileset file="res/8.png" />
        <fileset file="res/9.png" />
        <fileset file="res/swoosh.wav" />
        <fileset file="res/point.wav" />
        <fileset file="res/hit.wav" />
        <fileset file="res/immposiblerush.png"/>

    </target>


    <target name="jar">
        <mkdir dir="build/jar"/>
        <jar destfile="build/jar/ImmposibleRush.jar" basedir="build/classes">
        <fileset file="res/square.png" />
        <fileset file="res/balls.png" />
		<fileset file="res/startscreen.png" />
		<fileset file="res/gameover.png" />
        <fileset file="res/0.png" />
        <fileset file="res/1.png" />
        <fileset file="res/2.png" />
        <fileset file="res/3.png" />
        <fileset file="res/4.png" />
        <fileset file="res/5.png" />
        <fileset file="res/6.png" />
        <fileset file="res/7.png" />
        <fileset file="res/8.png" />
        <fileset file="res/9.png" />
        <fileset file="res/swoosh.wav" />
        <fileset file="res/point.wav" />
        <fileset file="res/hit.wav" />
        <fileset file="res/immposiblerush.png"/> 
        
            <manifest>
                <attribute name="Main-Class" value="pietraszczyk.immposiblerush.ImmposibleRush"/>
            </manifest>
        </jar>
    </target>

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

</project>