-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
31 lines (26 loc) · 802 Bytes
/
build.xml
File metadata and controls
31 lines (26 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<project name="Colorful" default="run" basedir=".">
<target name="clean">
<delete dir="bin"/>
<delete dir="dist"/>
</target>
<target name="build">
<mkdir dir="bin"/>
<javac srcdir="src" destdir="bin" includeantruntime="false">
<compilerarg value="-Xlint:unchecked"/>
<compilerarg value="-Xlint:deprecation"/>
</javac>
</target>
<target name="dist" depends="build">
<mkdir dir="dist"/>
<jar destfile="dist/Colorful.jar" basedir="bin">
<fileset dir="fxml"/>
<manifest>
<attribute name="Main-Class"
value="de.codemusings.colorful.Colorful"/>
</manifest>
</jar>
</target>
<target name="run" depends="dist">
<java jar="dist/Colorful.jar" fork="true"/>
</target>
</project>