comparison immposiblerush/build.xml @ 0:2787f5e749ae

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:33:57 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:2787f5e749ae
1 <project>
2
3 <target name="clean">
4 <delete dir="build"/>
5 <delete dir="bin"/>
6 </target>
7
8 <target name="compile">
9 <mkdir dir="build/classes"/>
10 <javac srcdir="src" destdir="build/classes"/>
11 <fileset file="res/square.png" />
12 <fileset file="res/balls.png" />
13 <fileset file="res/startscreen.png" />
14 <fileset file="res/gameover.png" />
15 <fileset file="res/0.png" />
16 <fileset file="res/1.png" />
17 <fileset file="res/2.png" />
18 <fileset file="res/3.png" />
19 <fileset file="res/4.png" />
20 <fileset file="res/5.png" />
21 <fileset file="res/6.png" />
22 <fileset file="res/7.png" />
23 <fileset file="res/8.png" />
24 <fileset file="res/9.png" />
25 <fileset file="res/swoosh.wav" />
26 <fileset file="res/point.wav" />
27 <fileset file="res/hit.wav" />
28 <fileset file="res/immposiblerush.png"/>
29
30 </target>
31
32
33 <target name="jar">
34 <mkdir dir="build/jar"/>
35 <jar destfile="build/jar/ImmposibleRush.jar" basedir="build/classes">
36 <fileset file="res/square.png" />
37 <fileset file="res/balls.png" />
38 <fileset file="res/startscreen.png" />
39 <fileset file="res/gameover.png" />
40 <fileset file="res/0.png" />
41 <fileset file="res/1.png" />
42 <fileset file="res/2.png" />
43 <fileset file="res/3.png" />
44 <fileset file="res/4.png" />
45 <fileset file="res/5.png" />
46 <fileset file="res/6.png" />
47 <fileset file="res/7.png" />
48 <fileset file="res/8.png" />
49 <fileset file="res/9.png" />
50 <fileset file="res/swoosh.wav" />
51 <fileset file="res/point.wav" />
52 <fileset file="res/hit.wav" />
53 <fileset file="res/immposiblerush.png"/>
54
55 <manifest>
56 <attribute name="Main-Class" value="pietraszczyk.immposiblerush.ImmposibleRush"/>
57 </manifest>
58 </jar>
59 </target>
60
61 <target name="run">
62 <java jar="build/jar/ImmposibleRush.jar" fork="true"/>
63 </target>
64
65 </project>