comparison mercurial.xml @ 486:0633946c76f2

update build
author eugene.petrenko@gmail.com
date Mon, 01 Oct 2012 20:52:50 +0200
parents 3239780e4e8f
children 31a1aca3305c
comparison
equal deleted inserted replaced
485:774229a5fcd2 486:0633946c76f2
27 <exclude name="**/*.pyo/**"/> 27 <exclude name="**/*.pyo/**"/>
28 <exclude name="**/.git/**"/> 28 <exclude name="**/.git/**"/>
29 <exclude name="**/*.hprof/**"/> 29 <exclude name="**/*.hprof/**"/>
30 <exclude name="**/_svn/**"/> 30 <exclude name="**/_svn/**"/>
31 <exclude name="**/.hg/**"/> 31 <exclude name="**/.hg/**"/>
32 <exclude name="**/.sbas/**"/>
33 <exclude name="**/.IJI.*/**"/>
34 <exclude name="**/vssver.scc/**"/>
35 <exclude name="**/vssver2.scc/**"/>
36 <exclude name="**/*.orig/**"/>
37 <exclude name="**/*.lib/**"/> 32 <exclude name="**/*.lib/**"/>
38 <exclude name="**/*~/**"/> 33 <exclude name="**/*~/**"/>
39 <exclude name="**/__pycache__/**"/> 34 <exclude name="**/__pycache__/**"/>
40 <exclude name="**/.bundle/**"/> 35 <exclude name="**/.bundle/**"/>
41 <exclude name="**/*.rbc/**"/> 36 <exclude name="**/*.rbc/**"/>
37 <exclude name="**/*.orig/**"/>
42 </patternset> 38 </patternset>
43 <patternset id="library.patterns"> 39 <patternset id="library.patterns">
40 <include name="*.zip"/>
41 <include name="*.apk"/>
44 <include name="*.war"/> 42 <include name="*.war"/>
43 <include name="*.egg"/>
45 <include name="*.ear"/> 44 <include name="*.ear"/>
46 <include name="*.apk"/> 45 <include name="*.ane"/>
47 <include name="*.zip"/>
48 <include name="*.swc"/> 46 <include name="*.swc"/>
49 <include name="*.egg"/>
50 <include name="*.jar"/> 47 <include name="*.jar"/>
51 </patternset> 48 </patternset>
52 <patternset id="compiler.resources"> 49 <patternset id="compiler.resources">
53 <include name="**/?*.properties"/> 50 <include name="**/?*.properties"/>
54 <include name="**/?*.xml"/> 51 <include name="**/?*.xml"/>
62 <include name="**/?*.jsp"/> 59 <include name="**/?*.jsp"/>
63 <include name="**/?*.tag"/> 60 <include name="**/?*.tag"/>
64 <include name="**/?*.template"/> 61 <include name="**/?*.template"/>
65 </patternset> 62 </patternset>
66 63
67 <!-- JDK definitions -->
68
69 <property name="jdk.bin.1.5" value="${jdk.home.1.5}/bin"/>
70 <path id="jdk.classpath.1.5">
71 <fileset dir="${jdk.home.1.5}">
72 <include name="jre/lib/rt.jar"/>
73 <include name="jre/lib/jce.jar"/>
74 <include name="jre/lib/deploy.jar"/>
75 <include name="jre/lib/javaws.jar"/>
76 <include name="jre/lib/jsse.jar"/>
77 <include name="jre/lib/charsets.jar"/>
78 <include name="jre/lib/plugin.jar"/>
79 <include name="jre/lib/ext/localedata.jar"/>
80 <include name="jre/lib/ext/sunpkcs11.jar"/>
81 <include name="jre/lib/ext/sunjce_provider.jar"/>
82 <include name="jre/lib/ext/dnsns.jar"/>
83 </fileset>
84 </path>
85
86 <property name="project.jdk.home" value="${jdk.home.1.5}"/>
87 <property name="project.jdk.bin" value="${jdk.bin.1.5}"/>
88 <property name="project.jdk.classpath" value="jdk.classpath.1.5"/>
89
90 64
91 <!-- Project Libraries --> 65 <!-- Project Libraries -->
92 66
93 <path id="library.idea-openapi.classpath"> 67 <path id="library.idea-openapi.classpath">
94 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/annotations.jar"/> 68 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/annotations.jar"/>
125 <path id="library.teamcity-testsapi.classpath"> 99 <path id="library.teamcity-testsapi.classpath">
126 <pathelement location="${path.variable.teamcitydistribution}/devPackage/tests/patches-test.jar"/> 100 <pathelement location="${path.variable.teamcitydistribution}/devPackage/tests/patches-test.jar"/>
127 <pathelement location="${path.variable.teamcitydistribution}/devPackage/tests/tests-support.jar"/> 101 <pathelement location="${path.variable.teamcitydistribution}/devPackage/tests/tests-support.jar"/>
128 </path> 102 </path>
129 103
104 <path id="library.teamcity_vcs_api.classpath">
105 <pathelement location="${path.variable.teamcitydistribution}/devPackage/server-common-api.jar"/>
106 <pathelement location="${path.variable.teamcitydistribution}/devPackage/server-vcs-api.jar"/>
107 </path>
108
130 <path id="library.teamcityapi-agent.classpath"> 109 <path id="library.teamcityapi-agent.classpath">
131 <pathelement location="${path.variable.teamcitydistribution}/buildAgent/lib/agent.jar"/> 110 <pathelement location="${path.variable.teamcitydistribution}/buildAgent/lib/agent.jar"/>
132 <pathelement location="${path.variable.teamcitydistribution}/devPackage/agent-api.jar"/> 111 <pathelement location="${path.variable.teamcitydistribution}/devPackage/agent-api.jar"/>
133 </path> 112 </path>
134 113
144 <path id="library.testng.classpath"> 123 <path id="library.testng.classpath">
145 <pathelement location="${basedir}/mercurial-tests/lib/testng-5.7-jdk15.jar"/> 124 <pathelement location="${basedir}/mercurial-tests/lib/testng-5.7-jdk15.jar"/>
146 </path> 125 </path>
147 126
148 127
149 <!-- Global Libraries -->
150
151
152 <!-- Application Server Libraries --> 128 <!-- Application Server Libraries -->
153 129
154 <!-- Modules --> 130 <!-- Modules -->
155 131
156 132
157 <!-- Module main --> 133 <!-- Module main -->
158 134
159 <dirname property="module.main.basedir" file="${ant.file}"/> 135 <dirname property="module.main.basedir" file="${ant.file}"/>
160 136
161 137
162 <property name="module.jdk.home.main" value="${project.jdk.home}"/>
163 <property name="module.jdk.bin.main" value="${project.jdk.bin}"/>
164 <property name="module.jdk.classpath.main" value="${project.jdk.classpath}"/>
165 138
166 <property name="compiler.args.main" value="${compiler.args}"/> 139 <property name="compiler.args.main" value="${compiler.args}"/>
167 140
168 <property name="main.output.dir" value="undefined"/> 141 <property name="main.output.dir" value="undefined"/>
169 <property name="main.testoutput.dir" value="undefined"/> 142 <property name="main.testoutput.dir" value="undefined"/>
170 143
171 <path id="main.module.bootclasspath"> 144 <path id="main.module.bootclasspath">
172 <!-- Paths to be included in compilation bootclasspath --> 145 <!-- Paths to be included in compilation bootclasspath -->
173 </path> 146 </path>
174 147
175 <path id="main.module.production.classpath"> 148 <path id="main.module.production.classpath"/>
176 <path refid="${module.jdk.classpath.main}"/>
177 </path>
178 149
179 <path id="main.runtime.production.module.classpath"/> 150 <path id="main.runtime.production.module.classpath"/>
180 151
181 <path id="main.module.classpath"> 152 <path id="main.module.classpath"/>
182 <path refid="${module.jdk.classpath.main}"/>
183 </path>
184 153
185 <path id="main.runtime.module.classpath"/> 154 <path id="main.runtime.module.classpath"/>
186 155
187 156
188 <patternset id="excluded.from.module.main"> 157 <patternset id="excluded.from.module.main">
209 <!-- Module mercurial-common --> 178 <!-- Module mercurial-common -->
210 179
211 <dirname property="module.mercurial-common.basedir" file="${ant.file}"/> 180 <dirname property="module.mercurial-common.basedir" file="${ant.file}"/>
212 181
213 182
214 <property name="module.jdk.home.mercurial-common" value="${project.jdk.home}"/>
215 <property name="module.jdk.bin.mercurial-common" value="${project.jdk.bin}"/>
216 <property name="module.jdk.classpath.mercurial-common" value="${project.jdk.classpath}"/>
217 183
218 <property name="compiler.args.mercurial-common" value="${compiler.args}"/> 184 <property name="compiler.args.mercurial-common" value="${compiler.args}"/>
219 185
220 <property name="mercurial-common.output.dir" value="${module.mercurial-common.basedir}/mercurial-common/classes"/> 186 <property name="mercurial-common.output.dir" value="${module.mercurial-common.basedir}/mercurial-common/classes"/>
221 <property name="mercurial-common.testoutput.dir" value="${module.mercurial-common.basedir}/mercurial-common/classes"/> 187 <property name="mercurial-common.testoutput.dir" value="${module.mercurial-common.basedir}/mercurial-common/classes"/>
223 <path id="mercurial-common.module.bootclasspath"> 189 <path id="mercurial-common.module.bootclasspath">
224 <!-- Paths to be included in compilation bootclasspath --> 190 <!-- Paths to be included in compilation bootclasspath -->
225 </path> 191 </path>
226 192
227 <path id="mercurial-common.module.production.classpath"> 193 <path id="mercurial-common.module.production.classpath">
228 <path refid="${module.jdk.classpath.mercurial-common}"/>
229 <path refid="library.teamcityapi-common.classpath"/> 194 <path refid="library.teamcityapi-common.classpath"/>
230 <path refid="library.idea-openapi.classpath"/> 195 <path refid="library.idea-openapi.classpath"/>
231 <path refid="library.jdom.classpath"/> 196 <path refid="library.jdom.classpath"/>
232 </path> 197 </path>
233 198
237 <path refid="library.idea-openapi.classpath"/> 202 <path refid="library.idea-openapi.classpath"/>
238 <path refid="library.jdom.classpath"/> 203 <path refid="library.jdom.classpath"/>
239 </path> 204 </path>
240 205
241 <path id="mercurial-common.module.classpath"> 206 <path id="mercurial-common.module.classpath">
242 <path refid="${module.jdk.classpath.mercurial-common}"/>
243 <pathelement location="${mercurial-common.output.dir}"/> 207 <pathelement location="${mercurial-common.output.dir}"/>
244 <path refid="library.teamcityapi-common.classpath"/> 208 <path refid="library.teamcityapi-common.classpath"/>
245 <path refid="library.idea-openapi.classpath"/> 209 <path refid="library.idea-openapi.classpath"/>
246 <path refid="library.jdom.classpath"/> 210 <path refid="library.jdom.classpath"/>
247 </path> 211 </path>
271 235
272 <target name="compile.module.mercurial-common" depends="compile.module.mercurial-common.production,compile.module.mercurial-common.tests" description="Compile module mercurial-common"/> 236 <target name="compile.module.mercurial-common" depends="compile.module.mercurial-common.production,compile.module.mercurial-common.tests" description="Compile module mercurial-common"/>
273 237
274 <target name="compile.module.mercurial-common.production" description="Compile module mercurial-common; production classes"> 238 <target name="compile.module.mercurial-common.production" description="Compile module mercurial-common; production classes">
275 <mkdir dir="${mercurial-common.output.dir}"/> 239 <mkdir dir="${mercurial-common.output.dir}"/>
276 <javac destdir="${mercurial-common.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.mercurial-common}/javac"> 240 <javac destdir="${mercurial-common.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
277 <compilerarg line="${compiler.args.mercurial-common}"/> 241 <compilerarg line="${compiler.args.mercurial-common}"/>
278 <bootclasspath refid="mercurial-common.module.bootclasspath"/> 242 <bootclasspath refid="mercurial-common.module.bootclasspath"/>
279 <classpath refid="mercurial-common.module.production.classpath"/> 243 <classpath refid="mercurial-common.module.production.classpath"/>
280 <src refid="mercurial-common.module.sourcepath"/> 244 <src refid="mercurial-common.module.sourcepath"/>
281 <patternset refid="excluded.from.compilation.mercurial-common"/> 245 <patternset refid="excluded.from.compilation.mercurial-common"/>
300 <!-- Module mercurial-agent --> 264 <!-- Module mercurial-agent -->
301 265
302 <dirname property="module.mercurial-agent.basedir" file="${ant.file}"/> 266 <dirname property="module.mercurial-agent.basedir" file="${ant.file}"/>
303 267
304 268
305 <property name="module.jdk.home.mercurial-agent" value="${project.jdk.home}"/>
306 <property name="module.jdk.bin.mercurial-agent" value="${project.jdk.bin}"/>
307 <property name="module.jdk.classpath.mercurial-agent" value="${project.jdk.classpath}"/>
308 269
309 <property name="compiler.args.mercurial-agent" value="${compiler.args}"/> 270 <property name="compiler.args.mercurial-agent" value="${compiler.args}"/>
310 271
311 <property name="mercurial-agent.output.dir" value="${module.mercurial-agent.basedir}/mercurial-agent/classes"/> 272 <property name="mercurial-agent.output.dir" value="${module.mercurial-agent.basedir}/mercurial-agent/classes"/>
312 <property name="mercurial-agent.testoutput.dir" value="${module.mercurial-agent.basedir}/mercurial-agent/classes"/> 273 <property name="mercurial-agent.testoutput.dir" value="${module.mercurial-agent.basedir}/mercurial-agent/classes"/>
314 <path id="mercurial-agent.module.bootclasspath"> 275 <path id="mercurial-agent.module.bootclasspath">
315 <!-- Paths to be included in compilation bootclasspath --> 276 <!-- Paths to be included in compilation bootclasspath -->
316 </path> 277 </path>
317 278
318 <path id="mercurial-agent.module.production.classpath"> 279 <path id="mercurial-agent.module.production.classpath">
319 <path refid="${module.jdk.classpath.mercurial-agent}"/>
320 <path refid="library.teamcityapi-agent.classpath"/> 280 <path refid="library.teamcityapi-agent.classpath"/>
321 <pathelement location="${mercurial-common.output.dir}"/> 281 <pathelement location="${mercurial-common.output.dir}"/>
322 <path refid="library.teamcityapi-common.classpath"/> 282 <path refid="library.teamcityapi-common.classpath"/>
323 <path refid="library.idea-openapi.classpath"/> 283 <path refid="library.idea-openapi.classpath"/>
324 </path> 284 </path>
331 <path refid="library.idea-openapi.classpath"/> 291 <path refid="library.idea-openapi.classpath"/>
332 <path refid="library.jdom.classpath"/> 292 <path refid="library.jdom.classpath"/>
333 </path> 293 </path>
334 294
335 <path id="mercurial-agent.module.classpath"> 295 <path id="mercurial-agent.module.classpath">
336 <path refid="${module.jdk.classpath.mercurial-agent}"/>
337 <pathelement location="${mercurial-agent.output.dir}"/> 296 <pathelement location="${mercurial-agent.output.dir}"/>
338 <path refid="library.teamcityapi-agent.classpath"/> 297 <path refid="library.teamcityapi-agent.classpath"/>
339 <pathelement location="${mercurial-common.output.dir}"/> 298 <pathelement location="${mercurial-common.output.dir}"/>
340 <path refid="library.teamcityapi-common.classpath"/> 299 <path refid="library.teamcityapi-common.classpath"/>
341 <path refid="library.idea-openapi.classpath"/> 300 <path refid="library.idea-openapi.classpath"/>
368 327
369 <target name="compile.module.mercurial-agent" depends="compile.module.mercurial-agent.production,compile.module.mercurial-agent.tests" description="Compile module mercurial-agent"/> 328 <target name="compile.module.mercurial-agent" depends="compile.module.mercurial-agent.production,compile.module.mercurial-agent.tests" description="Compile module mercurial-agent"/>
370 329
371 <target name="compile.module.mercurial-agent.production" depends="compile.module.mercurial-common" description="Compile module mercurial-agent; production classes"> 330 <target name="compile.module.mercurial-agent.production" depends="compile.module.mercurial-common" description="Compile module mercurial-agent; production classes">
372 <mkdir dir="${mercurial-agent.output.dir}"/> 331 <mkdir dir="${mercurial-agent.output.dir}"/>
373 <javac destdir="${mercurial-agent.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.mercurial-agent}/javac"> 332 <javac destdir="${mercurial-agent.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
374 <compilerarg line="${compiler.args.mercurial-agent}"/> 333 <compilerarg line="${compiler.args.mercurial-agent}"/>
375 <bootclasspath refid="mercurial-agent.module.bootclasspath"/> 334 <bootclasspath refid="mercurial-agent.module.bootclasspath"/>
376 <classpath refid="mercurial-agent.module.production.classpath"/> 335 <classpath refid="mercurial-agent.module.production.classpath"/>
377 <src refid="mercurial-agent.module.sourcepath"/> 336 <src refid="mercurial-agent.module.sourcepath"/>
378 <patternset refid="excluded.from.compilation.mercurial-agent"/> 337 <patternset refid="excluded.from.compilation.mercurial-agent"/>
397 <!-- Module mercurial-server --> 356 <!-- Module mercurial-server -->
398 357
399 <dirname property="module.mercurial-server.basedir" file="${ant.file}"/> 358 <dirname property="module.mercurial-server.basedir" file="${ant.file}"/>
400 359
401 360
402 <property name="module.jdk.home.mercurial-server" value="${project.jdk.home}"/>
403 <property name="module.jdk.bin.mercurial-server" value="${project.jdk.bin}"/>
404 <property name="module.jdk.classpath.mercurial-server" value="${project.jdk.classpath}"/>
405 361
406 <property name="compiler.args.mercurial-server" value="${compiler.args}"/> 362 <property name="compiler.args.mercurial-server" value="${compiler.args}"/>
407 363
408 <property name="mercurial-server.output.dir" value="${module.mercurial-server.basedir}/mercurial-server/classes"/> 364 <property name="mercurial-server.output.dir" value="${module.mercurial-server.basedir}/mercurial-server/classes"/>
409 <property name="mercurial-server.testoutput.dir" value="${module.mercurial-server.basedir}/mercurial-server/classes"/> 365 <property name="mercurial-server.testoutput.dir" value="${module.mercurial-server.basedir}/mercurial-server/classes"/>
411 <path id="mercurial-server.module.bootclasspath"> 367 <path id="mercurial-server.module.bootclasspath">
412 <!-- Paths to be included in compilation bootclasspath --> 368 <!-- Paths to be included in compilation bootclasspath -->
413 </path> 369 </path>
414 370
415 <path id="mercurial-server.module.production.classpath"> 371 <path id="mercurial-server.module.production.classpath">
416 <path refid="${module.jdk.classpath.mercurial-server}"/> 372 <path refid="library.teamcityapi-server.classpath"/>
417 <path refid="library.teamcityapi-server.classpath"/> 373 <path refid="library.idea-openapi.classpath"/>
418 <path refid="library.idea-openapi.classpath"/> 374 <path refid="library.log4j.classpath"/>
419 <path refid="library.log4j.classpath"/> 375 <pathelement location="${mercurial-common.output.dir}"/>
420 <pathelement location="${mercurial-common.output.dir}"/> 376 <path refid="library.teamcityapi-common.classpath"/>
421 <path refid="library.teamcityapi-common.classpath"/> 377 <path refid="library.teamcity_vcs_api.classpath"/>
422 </path> 378 </path>
423 379
424 <path id="mercurial-server.runtime.production.module.classpath"> 380 <path id="mercurial-server.runtime.production.module.classpath">
425 <pathelement location="${mercurial-server.output.dir}"/> 381 <pathelement location="${mercurial-server.output.dir}"/>
426 <path refid="library.teamcityapi-server.classpath"/> 382 <path refid="library.teamcityapi-server.classpath"/>
427 <path refid="library.idea-openapi.classpath"/> 383 <path refid="library.idea-openapi.classpath"/>
428 <path refid="library.log4j.classpath"/> 384 <path refid="library.log4j.classpath"/>
429 <pathelement location="${mercurial-common.output.dir}"/> 385 <pathelement location="${mercurial-common.output.dir}"/>
430 <path refid="library.teamcityapi-common.classpath"/> 386 <path refid="library.teamcityapi-common.classpath"/>
431 <path refid="library.jdom.classpath"/> 387 <path refid="library.jdom.classpath"/>
388 <path refid="library.teamcity_vcs_api.classpath"/>
432 </path> 389 </path>
433 390
434 <path id="mercurial-server.module.classpath"> 391 <path id="mercurial-server.module.classpath">
435 <path refid="${module.jdk.classpath.mercurial-server}"/>
436 <pathelement location="${mercurial-server.output.dir}"/> 392 <pathelement location="${mercurial-server.output.dir}"/>
437 <path refid="library.teamcityapi-server.classpath"/> 393 <path refid="library.teamcityapi-server.classpath"/>
438 <path refid="library.idea-openapi.classpath"/> 394 <path refid="library.idea-openapi.classpath"/>
439 <path refid="library.log4j.classpath"/> 395 <path refid="library.log4j.classpath"/>
440 <pathelement location="${mercurial-common.output.dir}"/> 396 <pathelement location="${mercurial-common.output.dir}"/>
441 <path refid="library.teamcityapi-common.classpath"/> 397 <path refid="library.teamcityapi-common.classpath"/>
398 <path refid="library.teamcity_vcs_api.classpath"/>
442 </path> 399 </path>
443 400
444 <path id="mercurial-server.runtime.module.classpath"> 401 <path id="mercurial-server.runtime.module.classpath">
445 <pathelement location="${mercurial-server.output.dir}"/> 402 <pathelement location="${mercurial-server.output.dir}"/>
446 <path refid="library.teamcityapi-server.classpath"/> 403 <path refid="library.teamcityapi-server.classpath"/>
447 <path refid="library.idea-openapi.classpath"/> 404 <path refid="library.idea-openapi.classpath"/>
448 <path refid="library.log4j.classpath"/> 405 <path refid="library.log4j.classpath"/>
449 <pathelement location="${mercurial-common.output.dir}"/> 406 <pathelement location="${mercurial-common.output.dir}"/>
450 <path refid="library.teamcityapi-common.classpath"/> 407 <path refid="library.teamcityapi-common.classpath"/>
451 <path refid="library.jdom.classpath"/> 408 <path refid="library.jdom.classpath"/>
409 <path refid="library.teamcity_vcs_api.classpath"/>
452 </path> 410 </path>
453 411
454 412
455 <patternset id="excluded.from.module.mercurial-server"> 413 <patternset id="excluded.from.module.mercurial-server">
456 <patternset refid="ignored.files"/> 414 <patternset refid="ignored.files"/>
470 428
471 <target name="compile.module.mercurial-server" depends="compile.module.mercurial-server.production,compile.module.mercurial-server.tests" description="Compile module mercurial-server"/> 429 <target name="compile.module.mercurial-server" depends="compile.module.mercurial-server.production,compile.module.mercurial-server.tests" description="Compile module mercurial-server"/>
472 430
473 <target name="compile.module.mercurial-server.production" depends="compile.module.mercurial-common" description="Compile module mercurial-server; production classes"> 431 <target name="compile.module.mercurial-server.production" depends="compile.module.mercurial-common" description="Compile module mercurial-server; production classes">
474 <mkdir dir="${mercurial-server.output.dir}"/> 432 <mkdir dir="${mercurial-server.output.dir}"/>
475 <javac destdir="${mercurial-server.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.mercurial-server}/javac"> 433 <javac destdir="${mercurial-server.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
476 <compilerarg line="${compiler.args.mercurial-server}"/> 434 <compilerarg line="${compiler.args.mercurial-server}"/>
477 <bootclasspath refid="mercurial-server.module.bootclasspath"/> 435 <bootclasspath refid="mercurial-server.module.bootclasspath"/>
478 <classpath refid="mercurial-server.module.production.classpath"/> 436 <classpath refid="mercurial-server.module.production.classpath"/>
479 <src refid="mercurial-server.module.sourcepath"/> 437 <src refid="mercurial-server.module.sourcepath"/>
480 <patternset refid="excluded.from.compilation.mercurial-server"/> 438 <patternset refid="excluded.from.compilation.mercurial-server"/>
503 <!-- Module mercurial-tests --> 461 <!-- Module mercurial-tests -->
504 462
505 <dirname property="module.mercurial-tests.basedir" file="${ant.file}"/> 463 <dirname property="module.mercurial-tests.basedir" file="${ant.file}"/>
506 464
507 465
508 <property name="module.jdk.home.mercurial-tests" value="${project.jdk.home}"/>
509 <property name="module.jdk.bin.mercurial-tests" value="${project.jdk.bin}"/>
510 <property name="module.jdk.classpath.mercurial-tests" value="${project.jdk.classpath}"/>
511 466
512 <property name="compiler.args.mercurial-tests" value="${compiler.args}"/> 467 <property name="compiler.args.mercurial-tests" value="${compiler.args}"/>
513 468
514 <property name="mercurial-tests.output.dir" value="${module.mercurial-tests.basedir}/mercurial-tests/classes"/> 469 <property name="mercurial-tests.output.dir" value="${module.mercurial-tests.basedir}/mercurial-tests/classes"/>
515 <property name="mercurial-tests.testoutput.dir" value="${module.mercurial-tests.basedir}/mercurial-tests/classes"/> 470 <property name="mercurial-tests.testoutput.dir" value="${module.mercurial-tests.basedir}/mercurial-tests/classes"/>
517 <path id="mercurial-tests.module.bootclasspath"> 472 <path id="mercurial-tests.module.bootclasspath">
518 <!-- Paths to be included in compilation bootclasspath --> 473 <!-- Paths to be included in compilation bootclasspath -->
519 </path> 474 </path>
520 475
521 <path id="mercurial-tests.module.production.classpath"> 476 <path id="mercurial-tests.module.production.classpath">
522 <path refid="${module.jdk.classpath.mercurial-tests}"/>
523 <pathelement location="${mercurial-server.output.dir}"/> 477 <pathelement location="${mercurial-server.output.dir}"/>
524 <path refid="library.teamcityapi-server.classpath"/> 478 <path refid="library.teamcityapi-server.classpath"/>
525 <path refid="library.idea-openapi.classpath"/> 479 <path refid="library.idea-openapi.classpath"/>
526 <path refid="library.log4j.classpath"/> 480 <path refid="library.log4j.classpath"/>
527 <path refid="library.junit.classpath"/> 481 <path refid="library.junit.classpath"/>
531 <pathelement location="${mercurial-common.output.dir}"/> 485 <pathelement location="${mercurial-common.output.dir}"/>
532 <pathelement location="${mercurial-agent.output.dir}"/> 486 <pathelement location="${mercurial-agent.output.dir}"/>
533 <path refid="library.teamcity-testsapi.classpath"/> 487 <path refid="library.teamcity-testsapi.classpath"/>
534 <path refid="library.teamcity-impl.classpath"/> 488 <path refid="library.teamcity-impl.classpath"/>
535 <path refid="library.teamcityapi-agent.classpath"/> 489 <path refid="library.teamcityapi-agent.classpath"/>
490 <path refid="library.teamcity_vcs_api.classpath"/>
536 </path> 491 </path>
537 492
538 <path id="mercurial-tests.runtime.production.module.classpath"> 493 <path id="mercurial-tests.runtime.production.module.classpath">
539 <pathelement location="${mercurial-tests.output.dir}"/> 494 <pathelement location="${mercurial-tests.output.dir}"/>
540 <pathelement location="${mercurial-server.output.dir}"/> 495 <pathelement location="${mercurial-server.output.dir}"/>
542 <path refid="library.idea-openapi.classpath"/> 497 <path refid="library.idea-openapi.classpath"/>
543 <path refid="library.log4j.classpath"/> 498 <path refid="library.log4j.classpath"/>
544 <pathelement location="${mercurial-common.output.dir}"/> 499 <pathelement location="${mercurial-common.output.dir}"/>
545 <path refid="library.teamcityapi-common.classpath"/> 500 <path refid="library.teamcityapi-common.classpath"/>
546 <path refid="library.jdom.classpath"/> 501 <path refid="library.jdom.classpath"/>
502 <path refid="library.teamcity_vcs_api.classpath"/>
547 <path refid="library.junit.classpath"/> 503 <path refid="library.junit.classpath"/>
548 <path refid="library.testng.classpath"/> 504 <path refid="library.testng.classpath"/>
549 <path refid="library.jmock.classpath"/> 505 <path refid="library.jmock.classpath"/>
550 <pathelement location="${mercurial-agent.output.dir}"/> 506 <pathelement location="${mercurial-agent.output.dir}"/>
551 <path refid="library.teamcityapi-agent.classpath"/> 507 <path refid="library.teamcityapi-agent.classpath"/>
552 <path refid="library.teamcity-testsapi.classpath"/> 508 <path refid="library.teamcity-testsapi.classpath"/>
553 <path refid="library.teamcity-impl.classpath"/> 509 <path refid="library.teamcity-impl.classpath"/>
554 </path> 510 </path>
555 511
556 <path id="mercurial-tests.module.classpath"> 512 <path id="mercurial-tests.module.classpath">
557 <path refid="${module.jdk.classpath.mercurial-tests}"/>
558 <pathelement location="${mercurial-tests.output.dir}"/> 513 <pathelement location="${mercurial-tests.output.dir}"/>
559 <pathelement location="${mercurial-server.output.dir}"/> 514 <pathelement location="${mercurial-server.output.dir}"/>
560 <path refid="library.teamcityapi-server.classpath"/> 515 <path refid="library.teamcityapi-server.classpath"/>
561 <path refid="library.idea-openapi.classpath"/> 516 <path refid="library.idea-openapi.classpath"/>
562 <path refid="library.log4j.classpath"/> 517 <path refid="library.log4j.classpath"/>
567 <pathelement location="${mercurial-common.output.dir}"/> 522 <pathelement location="${mercurial-common.output.dir}"/>
568 <pathelement location="${mercurial-agent.output.dir}"/> 523 <pathelement location="${mercurial-agent.output.dir}"/>
569 <path refid="library.teamcity-testsapi.classpath"/> 524 <path refid="library.teamcity-testsapi.classpath"/>
570 <path refid="library.teamcity-impl.classpath"/> 525 <path refid="library.teamcity-impl.classpath"/>
571 <path refid="library.teamcityapi-agent.classpath"/> 526 <path refid="library.teamcityapi-agent.classpath"/>
527 <path refid="library.teamcity_vcs_api.classpath"/>
572 </path> 528 </path>
573 529
574 <path id="mercurial-tests.runtime.module.classpath"> 530 <path id="mercurial-tests.runtime.module.classpath">
575 <pathelement location="${mercurial-tests.output.dir}"/> 531 <pathelement location="${mercurial-tests.output.dir}"/>
576 <pathelement location="${mercurial-server.output.dir}"/> 532 <pathelement location="${mercurial-server.output.dir}"/>
578 <path refid="library.idea-openapi.classpath"/> 534 <path refid="library.idea-openapi.classpath"/>
579 <path refid="library.log4j.classpath"/> 535 <path refid="library.log4j.classpath"/>
580 <pathelement location="${mercurial-common.output.dir}"/> 536 <pathelement location="${mercurial-common.output.dir}"/>
581 <path refid="library.teamcityapi-common.classpath"/> 537 <path refid="library.teamcityapi-common.classpath"/>
582 <path refid="library.jdom.classpath"/> 538 <path refid="library.jdom.classpath"/>
539 <path refid="library.teamcity_vcs_api.classpath"/>
583 <path refid="library.junit.classpath"/> 540 <path refid="library.junit.classpath"/>
584 <path refid="library.testng.classpath"/> 541 <path refid="library.testng.classpath"/>
585 <path refid="library.jmock.classpath"/> 542 <path refid="library.jmock.classpath"/>
586 <pathelement location="${mercurial-agent.output.dir}"/> 543 <pathelement location="${mercurial-agent.output.dir}"/>
587 <path refid="library.teamcityapi-agent.classpath"/> 544 <path refid="library.teamcityapi-agent.classpath"/>
609 566
610 <target name="compile.module.mercurial-tests.production" depends="compile.module.mercurial-server,compile.module.mercurial-common,compile.module.mercurial-agent" description="Compile module mercurial-tests; production classes"/> 567 <target name="compile.module.mercurial-tests.production" depends="compile.module.mercurial-server,compile.module.mercurial-common,compile.module.mercurial-agent" description="Compile module mercurial-tests; production classes"/>
611 568
612 <target name="compile.module.mercurial-tests.tests" depends="compile.module.mercurial-tests.production" description="compile module mercurial-tests; test classes" unless="skip.tests"> 569 <target name="compile.module.mercurial-tests.tests" depends="compile.module.mercurial-tests.production" description="compile module mercurial-tests; test classes" unless="skip.tests">
613 <mkdir dir="${mercurial-tests.testoutput.dir}"/> 570 <mkdir dir="${mercurial-tests.testoutput.dir}"/>
614 <javac destdir="${mercurial-tests.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.mercurial-tests}/javac"> 571 <javac destdir="${mercurial-tests.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
615 <compilerarg line="${compiler.args.mercurial-tests}"/> 572 <compilerarg line="${compiler.args.mercurial-tests}"/>
616 <bootclasspath refid="mercurial-tests.module.bootclasspath"/> 573 <bootclasspath refid="mercurial-tests.module.bootclasspath"/>
617 <classpath refid="mercurial-tests.module.classpath"/> 574 <classpath refid="mercurial-tests.module.classpath"/>
618 <src refid="mercurial-tests.module.test.sourcepath"/> 575 <src refid="mercurial-tests.module.test.sourcepath"/>
619 <patternset refid="excluded.from.compilation.mercurial-tests"/> 576 <patternset refid="excluded.from.compilation.mercurial-tests"/>