comparison flappyufo/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 </target>
6
7 <target name="compile">
8 <mkdir dir="build/classes"/>
9 <javac srcdir="src" destdir="build/classes"/>
10 <fileset file="res/clouds.png" />
11 <fileset file="res/start.png" />
12 <fileset file="res/pipered.png" />
13 <fileset file="res/nextlevel.png" />
14 <fileset file="res/ufo-small.png" />
15 <fileset file="res/gameover.png" />
16 <fileset file="res/about.png" />
17 <fileset file="res/0.png" />
18 <fileset file="res/1.png" />
19 <fileset file="res/2.png" />
20 <fileset file="res/3.png" />
21 <fileset file="res/4.png" />
22 <fileset file="res/5.png" />
23 <fileset file="res/6.png" />
24 <fileset file="res/7.png" />
25 <fileset file="res/8.png" />
26 <fileset file="res/9.png" />
27 <fileset file="res/die.wav" />
28 <fileset file="res/point.wav" />
29 <fileset file="res/hit.wav" />
30 <fileset file="res/swoosh.wav" />
31 <fileset file="res/flappyufo.png" />
32
33 </target>
34
35
36 <target name="jar">
37 <mkdir dir="build/jar"/>
38 <jar destfile="build/jar/FlappyUfo.jar" basedir="build/classes">
39 <fileset file="res/clouds.png" />
40 <fileset file="res/start.png" />
41 <fileset file="res/pipered.png" />
42 <fileset file="res/nextlevel.png" />
43 <fileset file="res/ufo-small.png" />
44 <fileset file="res/gameover.png" />
45 <fileset file="res/about.png" />
46 <fileset file="res/0.png" />
47 <fileset file="res/1.png" />
48 <fileset file="res/2.png" />
49 <fileset file="res/3.png" />
50 <fileset file="res/4.png" />
51 <fileset file="res/5.png" />
52 <fileset file="res/6.png" />
53 <fileset file="res/7.png" />
54 <fileset file="res/8.png" />
55 <fileset file="res/9.png" />
56 <fileset file="res/die.wav" />
57 <fileset file="res/point.wav" />
58 <fileset file="res/hit.wav" />
59 <fileset file="res/swoosh.wav" />
60 <fileset file="res/flappyufo.png" />
61
62 <manifest>
63 <attribute name="Main-Class" value="flappyufo.FlappyUfo"/>
64 </manifest>
65 </jar>
66 </target>
67
68 <target name="run">
69 <java jar="build/jar/FlappyUfo.jar" fork="true"/>
70 </target>
71
72 </project>