comparison anielskiepuzzle/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/aniol.JPG" />
11 <fileset file="res/zielony_archaniol.jpg" />
12 <fileset file="res/niebieski_archaniol.jpg" />
13 <fileset file="res/nalinie.jpg" />
14 <fileset file="res/wallpaper.jpg" />
15 <fileset file="res/border.png" />
16 <fileset file="res/start.jpg" />
17
18 </target>
19
20
21 <target name="jar">
22 <mkdir dir="build/jar"/>
23 <jar destfile="build/jar/Trefle.jar" basedir="build/classes">
24 <fileset file="res/aniol.JPG" />
25 <fileset file="res/zielony_archaniol.jpg" />
26 <fileset file="res/niebieski_archaniol.jpg" />
27 <fileset file="res/nalinie.jpg" />
28 <fileset file="res/wallpaper.jpg" />
29 <fileset file="res/border.png" />
30 <fileset file="res/start.jpg" />
31
32 <manifest>
33 <attribute name="Main-Class" value="trefle.Trefle"/>
34 </manifest>
35 </jar>
36 </target>
37
38 <target name="run">
39 <java jar="build/jar/Trefle.jar" fork="true"/>
40 </target>
41
42 </project>