-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
32 lines (27 loc) · 822 Bytes
/
build.xml
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
32
<?xml version="1.0"?>
<project name="AnimatsChess" basedir="." default="jar">
<property name="src" value="src"/>
<property name="output" value="build"/>
<target name="jar" depends="compile">
<copy todir="build">
<fileset dir="classes"/>
</copy>
<jar destfile="bin/AnimatsChess.jar">
<fileset dir="build"/>
<manifest>
<attribute name="Main-Class" value="net.animats.chess.AnimatsChess"/>
</manifest>
</jar>
</target>
<target name="compile" depends="create">
<javac destdir="build">
<src path="${src}"/>
</javac>
</target>
<target name="create" depends="clean">
<mkdir dir="${output}"/>
</target>
<target name="clean">
<delete dir="${output}"/>
</target>
</project>