diff options
author | Przemyslaw <prymula76@outlook.com> | 2024-04-01 09:10:43 +0200 |
---|---|---|
committer | Przemyslaw <prymula76@outlook.com> | 2024-04-01 09:10:43 +0200 |
commit | 74a88f882ea83593d727e7031e20791349c013cd (patch) | |
tree | 52a6f3893db6bf3c34de11d1e692ad5957c7bcb3 /build.xml |
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..db4651a --- /dev/null +++ b/build.xml @@ -0,0 +1,25 @@ +<project> + + <target name="clean"> + <delete dir="build"/> + </target> + + <target name="compile"> + <mkdir dir="build/classes"/> + <javac srcdir="src" destdir="build/classes"/> + </target> + + <target name="jar"> + <mkdir dir="build/jar"/> + <jar destfile="build/jar/Jttt.jar" basedir="build/classes"> + <manifest> + <attribute name="Main-Class" value="Jttt"/> + </manifest> + </jar> + </target> + + <target name="run"> + <java jar="build/jar/Jttt.jar" fork="true"/> + </target> + +</project> |