-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
65 lines (49 loc) · 2.16 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0"?>
<project name = "openfootieman" basedir="." default="build">
<property name = "bin" value = "classes"/>
<property name = "projecturi" value = "com/openfootie"/>
<target name = "compile">
<mkdir dir="${bin}"/>
<javac srcdir = "." destdir="${bin}">
<include name="core/MatchReport.java"/>
<include name="gameplay/Player.java"/>
<include name="core/State.java"/>
<include name="${projecturi}/core/MatchReport.java"/>
<include name="${projecturi}/gameplay/Player.java"/>
<include name="${projecturi}/core/State.java"/>
</javac>
<javac srcdir = "report" destdir = "${bin}"/>
<javac srcdir = "${projecturi}/report" destdir = "${bin}"/>
<javac srcdir = "utility" destdir = "${bin}"/>
<javac srcdir = "${projecturi}/utility" destdir = "${bin}"/>
<javac srcdir = "interactivity" destdir = "${bin}"/>
<javac srcdir = "${projecturi}/interactivity" destdir = "${bin}"/>
<javac srcdir = "core" destdir = "${bin}">
<include name="Constants.java"/>
<include name="Player.java"/>
<include name="Team.java"/>
<include name="HighLightOrdinal.java"/>
<include name="PlayerStats.java"/>
<include name="${projecturi}/Constants.java"/>
<include name="${projecturi}/Player.java"/>
<include name="${projecturi}/Team.java"/>
<include name="${projecturi}/HighLightOrdinal.java"/>
<include name="${projecturi}/PlayerStats.java"/>
</javac>
<javac srcdir = "gameplay" destdir = "${bin}"/>
<javac srcdir = "${projecturi}/gameplay" destdir = "${bin}"/>
<javac srcdir = "representation" destdir = "${bin}"/>
<javac srcdir = "${projecturi}/representation" destdir = "${bin}"/>
<javac srcdir = "core" destdir = "${bin}"/>
<javac srcdir = "${projecturi}/core" destdir = "${bin}"/>
<javac srcdir = "test" destdir = "${bin}"/>
<javac srcdir = "${projecturi}/test" destdir = "${bin}"/>
</target>
<target name="create-jar">
<manifest file="Manifest.txt">
<attribute name="Main-Class" value="com.openfootie.test.HardcodedMatch"/>
</manifest>
<jar destfile="OpenFootie.jar" manifest="Manifest.txt" basedir="classes"/>
</target>
<target name="build" depends="compile,create-jar"/>
</project>