Mercurial > hg > pub > prymula > com
comparison kopieckreta/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="slownik.txt" /> | |
11 <fileset file="bass-bad.wav" /> | |
12 <fileset file="smooth-ok.wav" /> | |
13 <fileset file="startscreen.jpg" /> | |
14 </target> | |
15 | |
16 | |
17 <target name="jar"> | |
18 <mkdir dir="build/jar"/> | |
19 <jar destfile="build/jar/KopiecKreta.jar" basedir="build/classes"> | |
20 <fileset file="slownik.txt" /> | |
21 <fileset file="bass-bad.wav" /> | |
22 <fileset file="smooth-ok.wav" /> | |
23 <fileset file="startscreen.jpg" /> | |
24 <manifest> | |
25 <attribute name="Main-Class" value="src.KopiecKreta"/> | |
26 </manifest> | |
27 </jar> | |
28 </target> | |
29 | |
30 <target name="run"> | |
31 <java jar="build/jar/KopiecKreta.jar" fork="true"/> | |
32 </target> | |
33 | |
34 </project> |