-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
119 lines (105 loc) · 4.04 KB
/
Copy pathbuild.xml
File metadata and controls
119 lines (105 loc) · 4.04 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<project name="lurgee" basedir="." default="build">
<description>Top level build file for all lurgee packages. See http://lurgee.net for more information.</description>
<!-- property file -->
<property file="ant.properties"/>
<!-- directory paths -->
<property name="sgf-dir" location="sgf"/>
<property name="common-dir" location="common"/>
<property name="reversi-dir" location="reversi"/>
<property name="connect4-dir" location="connect4"/>
<property name="ninemensmorris-dir" location="ninemensmorris"/>
<!-- classpath -->
<path id="project.classpath">
</path>
<path id="test.classpath">
<pathelement location="${junit-jar}"/>
</path>
<!-- lurgee-sgf project -->
<target name="clean-sgf">
<ant antfile="build.xml" dir="${sgf-dir}" target="clean"/>
</target>
<target name="build-sgf">
<ant antfile="build.xml" dir="${sgf-dir}" target="build"/>
</target>
<!-- lurgee-common project -->
<target name="clean-common">
<ant antfile="build.xml" dir="${common-dir}" target="clean"/>
</target>
<target name="build-common">
<ant antfile="build.xml" dir="${common-dir}" target="build"/>
</target>
<!-- lurgee-reversi project -->
<target name="clean-reversi">
<ant antfile="build.xml" dir="${reversi-dir}" target="clean"/>
</target>
<target name="build-reversi" depends="build-sgf,build-common">
<ant antfile="build.xml" dir="${reversi-dir}" target="build"/>
</target>
<!-- lurgee-connect4 project -->
<target name="clean-connect4">
<ant antfile="build.xml" dir="${connect4-dir}" target="clean"/>
</target>
<target name="build-connect4" depends="build-sgf,build-common">
<ant antfile="build.xml" dir="${connect4-dir}" target="build"/>
</target>
<!-- lurgee-ninemensmorris project -->
<target name="clean-ninemensmorris">
<ant antfile="build.xml" dir="${ninemensmorris-dir}" target="clean"/>
</target>
<target name="build-ninemensmorris" depends="build-sgf,build-common">
<ant antfile="build.xml" dir="${ninemensmorris-dir}" target="build"/>
</target>
<!-- doc target -->
<target name="doc" >
<mkdir dir="${doc-dir}"/>
<javadoc destdir="${doc-dir}" access="${javadoc-access}">
<sourcepath>
<pathelement location="${sgf-dir}/src"/>
<pathelement location="${common-dir}/src"/>
<pathelement location="${reversi-dir}/src"/>
<pathelement location="${connect4-dir}/src"/>
<pathelement location="${ninemensmorris-dir}/src"/>
</sourcepath>
<package name="net.lurgee.*"/>
<doctitle><![CDATA[${javadoc-title}]]></doctitle>
<bottom><![CDATA[${javadoc-footer-message}]]></bottom>
</javadoc>
<copy todir="${doc-dir}">
<fileset dir="${sgf-dir}/doc-res"/>
</copy>
</target>
<!-- alldoc target -->
<target name="alldoc" >
<mkdir dir="${doc-dir}"/>
<javadoc destdir="${doc-dir}" access="${javadoc-access}">
<sourcepath>
<pathelement location="${sgf-dir}/src"/>
<pathelement location="${sgf-dir}/test-src"/>
<pathelement location="${common-dir}/src"/>
<pathelement location="${reversi-dir}/src"/>
<pathelement location="${reversi-dir}/test-src"/>
<pathelement location="${connect4-dir}/src"/>
<pathelement location="${connect4-dir}/test-src"/>
<pathelement location="${ninemensmorris-dir}/src"/>
<pathelement location="${ninemensmorris-dir}/test-src"/>
</sourcepath>
<package name="net.lurgee.*"/>
<classpath refid="test.classpath"/>
<doctitle><![CDATA[${javadoc-title}]]></doctitle>
<bottom><![CDATA[${javadoc-footer-message}]]></bottom>
</javadoc>
<copy todir="${doc-dir}">
<fileset dir="${sgf-dir}/doc-res"/>
</copy>
</target>
<!-- clean target -->
<target name="clean" depends="clean-sgf,clean-common,clean-reversi,clean-connect4,clean-ninemensmorris">
<delete dir="${doc-dir}"/>
</target>
<!-- build target -->
<target name="build" depends="build-reversi,build-connect4,build-ninemensmorris">
</target>
<!-- buildanddoc target -->
<target name="buildanddoc" depends="build,doc">
</target>
</project>