-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-init.xml
More file actions
180 lines (154 loc) · 7.16 KB
/
build-init.xml
File metadata and controls
180 lines (154 loc) · 7.16 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0" encoding="UTF-8"?>
<project name="boost-init" default="ignore" basedir=".">
<!-- SUGGEST Split into more files? -->
<property name="label" value="build-dev"/>
<property name="build.dir" location="build"/>
<property name="config.dir" location="config"/>
<property name="lib.dir" location="lib"/>
<property name="src.dir" location="src"/>
<property name="classes.dir" location="${build.dir}/classes"/>
<property name="cobertura.dir" location="${build.dir}/cobertura"/>
<property name="clover.dir" location="${build.dir}/clover"/>
<property name="artifacts.dir" location="${build.dir}/artifacts"/>
<property name="reports.dir" location="${artifacts.dir}/reports"/>
<property name="coverage.reports.dir" location="${reports.dir}/coverage"/>
<property name="cobertura.reports.dir" location="${coverage.reports.dir}/cobertura"/>
<property name="clover.reports.dir" location="${coverage.reports.dir}/clover"/>
<property name="jars.dir" location="${artifacts.dir}/jars"/>
<property name="test.report.dir" location="${reports.dir}/test"/>
<property name="test.xml.report.dir" location="${test.report.dir}/xml"/>
<property name="checkstyle.config.dir" location="${config.dir}/checkstyle"/>
<property name="checkstyle.report.dir" location="${reports.dir}/checkstyle"/>
<property name="checkstyle.cache.dir" location="${build.dir}/checkstyle-cache"/>
<property name="simian.config.dir" location="${config.dir}/simian"/>
<property name="artifacts.template.dir" location="${config.dir}/artifacts"/>
<property name="simian.report.dir" location="${reports.dir}/simian"/>
<property name="build.config.dir" location="${config.dir}/build"/>
<!-- SUGGEST Remove the superfluous java indirection -->
<property name="edge.src.dir" location="${src.dir}/edge/java"/>
<property name="core.src.dir" location="${src.dir}/core/java"/>
<property name="test.src.dir" location="${src.dir}/test/java"/>
<property name="demo.src.dir" location="${src.dir}/demo/java"/>
<property name="edge.class.dir" location="${classes.dir}/edge"/>
<property name="core.class.dir" location="${classes.dir}/core"/>
<property name="test.class.dir" location="${classes.dir}/test"/>
<property name="demo.class.dir" location="${classes.dir}/demo"/>
<property name="cobertura.class.dir" location="${cobertura.dir}/classes"/>
<property name="clover.src.dir" location="${clover.dir}/src"/>
<property name="clover.class.dir" location="${clover.dir}/classes"/>
<!-- Coverage Config cobertura/clover -->
<property name="coverage.type" value="cobertura"/>
<property name="min.coverage" value="100"/>
<tstamp>
<format property="build.date" pattern="yyyyMMdd HH:mm:ss"/>
</tstamp>
<fileset id="atomic.tests" dir="${test.src.dir}" includes="**/*AtomicTest.java"/>
<fileset id="demo.tests" dir="${demo.src.dir}" includes="**/*DemoTest.java"/>
<patternset id="code.pattern">
<include name="**/*.java"/>
</patternset>
<fileset id="checkstyle.core.code" dir="${core.src.dir}">
<patternset refid="code.pattern"/>
</fileset>
<fileset id="checkstyle.edge.code" dir="${edge.src.dir}">
<patternset refid="code.pattern"/>
</fileset>
<fileset id="checkstyle.test.code" dir="${test.src.dir}">
<patternset refid="code.pattern"/>
</fileset>
<fileset id="simian.boost.code" dir="${src.dir}">
<patternset refid="code.pattern"/>
<exclude name="**/au/net/netstorm/boost/sledge/**"/>
<exclude name="**/kickstart/**/*.java"/>
<!-- NO MORE WAIVERS/EXCLUSIONS HERE. -->
<exclude name="**/StartTime.java"/>
<exclude name="**/EndTime.java"/>
<exclude name="**/MockListener.java"/>
<exclude name="**/*Old*.java"/>
</fileset>
<!-- FIX SC600 Moves into kickstart.xml for courses. -->
<fileset id="simian.boo.code" dir="${src.dir}" includes="**/kickstart/boo/**/*.java"/>
<fileset id="simian.mike.code" dir="${src.dir}" includes="**/kickstart/mike/**/*.java"/>
<fileset id="simian.monster.code" dir="${src.dir}" includes="**/kickstart/monster/**/*.java"/>
<fileset id="simian.rah.code" dir="${src.dir}" includes="**/kickstart/rah/**/*.java"/>
<fileset id="simian.scream.code" dir="${src.dir}" includes="**/kickstart/scream/**/*.java"/>
<fileset id="simian.sulley.code" dir="${src.dir}" includes="**/kickstart/sulley/**/*.java"/>
<path id="edge.compile.classpath">
<path refid="base64.classpath"/>
</path>
<path id="core.compile.classpath">
<path location="${edge.class.dir}"/>
</path>
<path id="test.compile.classpath">
<path refid="core.compile.classpath"/>
<path location="${core.class.dir}"/>
<path refid="junit.classpath"/>
<path refid="jmock.classpath"/>
</path>
<path id="demo.compile.classpath">
<path refid="test.compile.classpath"/>
<path location="${test.class.dir}"/>
</path>
<path id="clover.compile.classpath">
<path refid="core.compile.classpath"/>
<path refid="test.compile.classpath"/>
<path refid="clover.classpath"/>
<path location="${test.class.dir}"/>
</path>
<path id="cobertura.classpath">
<fileset dir="${lib.dir}/cobertura">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="clover.classpath">
<fileset dir="${lib.dir}/clover">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="clover.instrumented.classpath">
<path location="${clover.class.dir}"/>
<path refid="clover.classpath"/>
<path refid="junit.classpath"/>
</path>
<path id="cobertura.instrumented.classpath">
<path location="${cobertura.class.dir}"/>
<path refid="cobertura.classpath"/>
</path>
<path id="atomic.test.classpath">
<path location="${edge.class.dir}"/>
<path refid="${coverage.type}.instrumented.classpath"/>
<path location="${core.class.dir}"/>
<path location="${test.class.dir}"/>
<path refid="jmock.classpath"/>
</path>
<path id="demo.test.classpath">
<path refid="demo.compile.classpath"/>
<path location="${demo.class.dir}"/>
</path>
<path id="checkstyle.class.path">
<fileset dir="${lib.dir}/checkstyle">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="junit.classpath">
<fileset dir="${lib.dir}/junit">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="jmock.classpath">
<fileset dir="${lib.dir}/jmock">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="simian.class.path">
<fileset dir="${lib.dir}/simian">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="base64.classpath">
<fileset dir="${lib.dir}/base64">
<include name="**/*.jar"/>
</fileset>
</path>
<target name="ignore"/>
</project>