Mercurial > hg > pub > prymula > com
view anielskiepuzzle/build.xml @ 15:f61684ae8245
READEM FIX
author | prymula <prymula76@outlook.com> |
---|---|
date | Sat, 10 Feb 2024 21:05:36 +0100 |
parents | 2787f5e749ae |
children |
line wrap: on
line source
<project> <target name="clean"> <delete dir="build"/> </target> <target name="compile"> <mkdir dir="build/classes"/> <javac srcdir="src" destdir="build/classes"/> <fileset file="res/aniol.JPG" /> <fileset file="res/zielony_archaniol.jpg" /> <fileset file="res/niebieski_archaniol.jpg" /> <fileset file="res/nalinie.jpg" /> <fileset file="res/wallpaper.jpg" /> <fileset file="res/border.png" /> <fileset file="res/start.jpg" /> </target> <target name="jar"> <mkdir dir="build/jar"/> <jar destfile="build/jar/Trefle.jar" basedir="build/classes"> <fileset file="res/aniol.JPG" /> <fileset file="res/zielony_archaniol.jpg" /> <fileset file="res/niebieski_archaniol.jpg" /> <fileset file="res/nalinie.jpg" /> <fileset file="res/wallpaper.jpg" /> <fileset file="res/border.png" /> <fileset file="res/start.jpg" /> <manifest> <attribute name="Main-Class" value="trefle.Trefle"/> </manifest> </jar> </target> <target name="run"> <java jar="build/jar/Trefle.jar" fork="true"/> </target> </project>