annotate anielskiepuzzle/build.xml @ 19:fff7215ba1e8

package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 16:10:46 +0200
parents 2787f5e749ae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
prymula <prymula76@outlook.com>
parents:
diff changeset
1 <project>
prymula <prymula76@outlook.com>
parents:
diff changeset
2
prymula <prymula76@outlook.com>
parents:
diff changeset
3 <target name="clean">
prymula <prymula76@outlook.com>
parents:
diff changeset
4 <delete dir="build"/>
prymula <prymula76@outlook.com>
parents:
diff changeset
5 </target>
prymula <prymula76@outlook.com>
parents:
diff changeset
6
prymula <prymula76@outlook.com>
parents:
diff changeset
7 <target name="compile">
prymula <prymula76@outlook.com>
parents:
diff changeset
8 <mkdir dir="build/classes"/>
prymula <prymula76@outlook.com>
parents:
diff changeset
9 <javac srcdir="src" destdir="build/classes"/>
prymula <prymula76@outlook.com>
parents:
diff changeset
10 <fileset file="res/aniol.JPG" />
prymula <prymula76@outlook.com>
parents:
diff changeset
11 <fileset file="res/zielony_archaniol.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
12 <fileset file="res/niebieski_archaniol.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
13 <fileset file="res/nalinie.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
14 <fileset file="res/wallpaper.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
15 <fileset file="res/border.png" />
prymula <prymula76@outlook.com>
parents:
diff changeset
16 <fileset file="res/start.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
17
prymula <prymula76@outlook.com>
parents:
diff changeset
18 </target>
prymula <prymula76@outlook.com>
parents:
diff changeset
19
prymula <prymula76@outlook.com>
parents:
diff changeset
20
prymula <prymula76@outlook.com>
parents:
diff changeset
21 <target name="jar">
prymula <prymula76@outlook.com>
parents:
diff changeset
22 <mkdir dir="build/jar"/>
prymula <prymula76@outlook.com>
parents:
diff changeset
23 <jar destfile="build/jar/Trefle.jar" basedir="build/classes">
prymula <prymula76@outlook.com>
parents:
diff changeset
24 <fileset file="res/aniol.JPG" />
prymula <prymula76@outlook.com>
parents:
diff changeset
25 <fileset file="res/zielony_archaniol.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
26 <fileset file="res/niebieski_archaniol.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
27 <fileset file="res/nalinie.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
28 <fileset file="res/wallpaper.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
29 <fileset file="res/border.png" />
prymula <prymula76@outlook.com>
parents:
diff changeset
30 <fileset file="res/start.jpg" />
prymula <prymula76@outlook.com>
parents:
diff changeset
31
prymula <prymula76@outlook.com>
parents:
diff changeset
32 <manifest>
prymula <prymula76@outlook.com>
parents:
diff changeset
33 <attribute name="Main-Class" value="trefle.Trefle"/>
prymula <prymula76@outlook.com>
parents:
diff changeset
34 </manifest>
prymula <prymula76@outlook.com>
parents:
diff changeset
35 </jar>
prymula <prymula76@outlook.com>
parents:
diff changeset
36 </target>
prymula <prymula76@outlook.com>
parents:
diff changeset
37
prymula <prymula76@outlook.com>
parents:
diff changeset
38 <target name="run">
prymula <prymula76@outlook.com>
parents:
diff changeset
39 <java jar="build/jar/Trefle.jar" fork="true"/>
prymula <prymula76@outlook.com>
parents:
diff changeset
40 </target>
prymula <prymula76@outlook.com>
parents:
diff changeset
41
prymula <prymula76@outlook.com>
parents:
diff changeset
42 </project>