diff options
author | Przemyslaw <prymula76@outlook.com> | 2024-04-01 09:01:24 +0200 |
---|---|---|
committer | Przemyslaw <prymula76@outlook.com> | 2024-04-01 09:01:24 +0200 |
commit | 18e499686d1c9991b65dc79272038b291bc14c5d (patch) | |
tree | 00b9d71f9c609e5e6fe990ea937822c3768032c9 /build.xml |
Init
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..c674970 --- /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/ColorsMemory.jar" basedir="build/classes"> + <manifest> + <attribute name="Main-Class" value="ColorsMemory"/> + </manifest> + </jar> + </target> + + <target name="run"> + <java jar="build/jar/ColorsMemory.jar" fork="true"/> + </target> + +</project> |