annotate mercurial.xml @ 357:55e8947b54ee remote-run/TW-19984

Regenerate build script
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Fri, 27 Jan 2012 19:39:41 +0400
parents fea86366d792
children ba67101fc876
rev   line source
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
2 <project name="mercurial" default="all">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
3
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
4
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
5 <property file="mercurial.properties"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
6 <!-- Uncomment the following property if no tests compilation is needed -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
7 <!--
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
8 <property name="skip.tests" value="true"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
9 -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
10
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
11 <!-- Compiler options -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
12
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
13 <property name="compiler.debug" value="on"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
14 <property name="compiler.generate.no.warnings" value="off"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
15 <property name="compiler.args" value=""/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
16 <property name="compiler.max.memory" value="128m"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
17 <patternset id="ignored.files">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
18 <exclude name="**/CVS/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
19 <exclude name="**/SCCS/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
20 <exclude name="**/RCS/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
21 <exclude name="**/rcs/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
22 <exclude name="**/.DS_Store/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
23 <exclude name="**/.svn/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
24 <exclude name="**/.pyc/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
25 <exclude name="**/.pyo/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
26 <exclude name="**/*.pyc/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
27 <exclude name="**/*.pyo/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
28 <exclude name="**/.git/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
29 <exclude name="**/*.hprof/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
30 <exclude name="**/_svn/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
31 <exclude name="**/.hg/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
32 <exclude name="**/.sbas/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
33 <exclude name="**/.IJI.*/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
34 <exclude name="**/vssver.scc/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
35 <exclude name="**/vssver2.scc/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
36 <exclude name="**/*.orig/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
37 <exclude name="**/*.lib/**"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
38 <exclude name="**/*~/**"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
39 <exclude name="**/__pycache__/**"/>
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
40 <exclude name="**/.bundle/**"/>
357
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
41 <exclude name="**/*.rbc/**"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
42 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
43 <patternset id="library.patterns">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
44 <include name="*.war"/>
357
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
45 <include name="*.ear"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
46 <include name="*.apk"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
47 <include name="*.zip"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
48 <include name="*.swc"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
49 <include name="*.egg"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
50 <include name="*.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
51 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
52 <patternset id="compiler.resources">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
53 <include name="**/?*.properties"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
54 <include name="**/?*.xml"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
55 <include name="**/?*.gif"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
56 <include name="**/?*.png"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
57 <include name="**/?*.jpeg"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
58 <include name="**/?*.jpg"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
59 <include name="**/?*.html"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
60 <include name="**/?*.dtd"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
61 <include name="**/?*.tld"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
62 <include name="**/?*.jsp"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
63 <include name="**/?*.tag"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
64 <include name="**/?*.template"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
65 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
66
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
67 <!-- JDK definitions -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
68
357
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
69 <property name="jdk.bin.1.6" value="${jdk.home.1.6}/bin"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
70 <path id="jdk.classpath.1.6">
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
71 <fileset dir="${jdk.home.1.6}">
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
72 <include name="jre/lib/plugin.jar"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
73 <include name="jre/lib/deploy.jar"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
74 <include name="jre/lib/alt-rt.jar"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
75 <include name="jre/lib/resources.jar"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
76 <include name="jre/lib/javaws.jar"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
77 <include name="jre/lib/jce.jar"/>
357
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
78 <include name="jre/lib/rt.jar"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
79 <include name="jre/lib/charsets.jar"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
80 <include name="jre/lib/jsse.jar"/>
357
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
81 <include name="jre/lib/alt-string.jar"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
82 <include name="jre/lib/management-agent.jar"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
83 <include name="jre/lib/ext/dnsns.jar"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
84 <include name="jre/lib/ext/sunjce_provider.jar"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
85 <include name="jre/lib/ext/localedata.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
86 <include name="jre/lib/ext/sunpkcs11.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
87 </fileset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
88 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
89
357
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
90 <property name="project.jdk.home" value="${jdk.home.1.6}"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
91 <property name="project.jdk.bin" value="${jdk.bin.1.6}"/>
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
92 <property name="project.jdk.classpath" value="jdk.classpath.1.6"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
93
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
94
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
95 <!-- Project Libraries -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
96
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
97 <path id="library.idea-openapi.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
98 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/annotations.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
99 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/openapi.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
100 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/resources_en.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
101 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/util.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
102 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
103
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
104 <path id="library.jdom.classpath">
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
105 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/jdom.jar"/>
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
106 </path>
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
107
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
108 <path id="library.jmock.classpath">
181
0ea2ad14ce97 Add local mirrors for agent checkout. To turn them on set agent property teamcity.hg.use.local.mirrors = true.
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 146
diff changeset
109 <pathelement location="${basedir}/mercurial-tests/lib/hamcrest-core-1.1.jar"/>
357
55e8947b54ee Regenerate build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 290
diff changeset
110 <pathelement location="${basedir}/mercurial-tests/lib/hamcrest-integration-1.1.jar"/>
181
0ea2ad14ce97 Add local mirrors for agent checkout. To turn them on set agent property teamcity.hg.use.local.mirrors = true.
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 146
diff changeset
111 <pathelement location="${basedir}/mercurial-tests/lib/hamcrest-library-1.1.jar"/>
0ea2ad14ce97 Add local mirrors for agent checkout. To turn them on set agent property teamcity.hg.use.local.mirrors = true.
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 146
diff changeset
112 <pathelement location="${basedir}/mercurial-tests/lib/jmock-2.5.1.jar"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
113 <pathelement location="${basedir}/mercurial-tests/lib/jmock-SNAPSHOT.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
114 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
115
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
116 <path id="library.junit.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
117 <pathelement location="${basedir}/mercurial-tests/lib/junit-3.8.1.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
118 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
119
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
120 <path id="library.log4j.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
121 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/log4j-1.2.12.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
122 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
123
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
124 <path id="library.teamcity-impl.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
125 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/patches-impl.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
126 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/trove4j.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
127 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
128
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
129 <path id="library.teamcity-testsapi.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
130 <pathelement location="${path.variable.teamcitydistribution}/devPackage/tests/patches-test.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
131 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
132
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
133 <path id="library.teamcityapi-agent.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
134 <pathelement location="${path.variable.teamcitydistribution}/devPackage/agent-api.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
135 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
136
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
137 <path id="library.teamcityapi-common.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
138 <pathelement location="${path.variable.teamcitydistribution}/devPackage/common-api.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
139 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
140
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
141 <path id="library.teamcityapi-server.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
142 <pathelement location="${path.variable.teamcitydistribution}/devPackage/server-api.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
143 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/server.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
144 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
145
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
146 <path id="library.testng.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
147 <pathelement location="${basedir}/mercurial-tests/lib/testng-5.7-jdk15.jar"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
148 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
149
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
150
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
151 <!-- Global Libraries -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
152
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
153
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
154 <!-- Application Server Libraries -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
155
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
156 <!-- Modules -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
157
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
158
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
159 <!-- Module main -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
160
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
161 <dirname property="module.main.basedir" file="${ant.file}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
162
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
163
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
164 <property name="module.jdk.home.main" value="${project.jdk.home}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
165 <property name="module.jdk.bin.main" value="${project.jdk.bin}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
166 <property name="module.jdk.classpath.main" value="${project.jdk.classpath}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
167
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
168 <property name="compiler.args.main" value="${compiler.args}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
169
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
170 <property name="main.output.dir" value="undefined"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
171 <property name="main.testoutput.dir" value="undefined"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
172
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
173 <path id="main.module.bootclasspath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
174 <!-- Paths to be included in compilation bootclasspath -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
175 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
176
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
177 <path id="main.module.production.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
178 <path refid="${module.jdk.classpath.main}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
179 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
180
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
181 <path id="main.runtime.production.module.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
182
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
183 <path id="main.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
184 <path refid="${module.jdk.classpath.main}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
185 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
186
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
187 <path id="main.runtime.module.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
188
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
189
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
190 <patternset id="excluded.from.module.main">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
191 <patternset refid="ignored.files"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
192 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
193
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
194 <patternset id="excluded.from.compilation.main">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
195 <patternset refid="excluded.from.module.main"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
196 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
197
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
198
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
199 <target name="compile.module.main" depends="compile.module.main.production,compile.module.main.tests" description="Compile module main"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
200
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
201 <target name="compile.module.main.production" description="Compile module main; production classes"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
202
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
203 <target name="compile.module.main.tests" depends="compile.module.main.production" description="compile module main; test classes" unless="skip.tests"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
204
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
205 <target name="clean.module.main" description="cleanup module">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
206 <delete dir="${main.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
207 <delete dir="${main.testoutput.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
208 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
209
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
210
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
211 <!-- Module mercurial-common -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
212
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
213 <dirname property="module.mercurial-common.basedir" file="${ant.file}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
214
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
215
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
216 <property name="module.jdk.home.mercurial-common" value="${project.jdk.home}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
217 <property name="module.jdk.bin.mercurial-common" value="${project.jdk.bin}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
218 <property name="module.jdk.classpath.mercurial-common" value="${project.jdk.classpath}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
219
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
220 <property name="compiler.args.mercurial-common" value="${compiler.args}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
221
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
222 <property name="mercurial-common.output.dir" value="${module.mercurial-common.basedir}/mercurial-common/classes"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
223 <property name="mercurial-common.testoutput.dir" value="${module.mercurial-common.basedir}/mercurial-common/classes"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
224
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
225 <path id="mercurial-common.module.bootclasspath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
226 <!-- Paths to be included in compilation bootclasspath -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
227 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
228
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
229 <path id="mercurial-common.module.production.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
230 <path refid="${module.jdk.classpath.mercurial-common}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
231 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
232 <path refid="library.idea-openapi.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
233 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
234 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
235
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
236 <path id="mercurial-common.runtime.production.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
237 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
238 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
239 <path refid="library.idea-openapi.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
240 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
241 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
242
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
243 <path id="mercurial-common.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
244 <path refid="${module.jdk.classpath.mercurial-common}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
245 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
246 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
247 <path refid="library.idea-openapi.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
248 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
249 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
250
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
251 <path id="mercurial-common.runtime.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
252 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
253 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
254 <path refid="library.idea-openapi.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
255 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
256 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
257
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
258
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
259 <patternset id="excluded.from.module.mercurial-common">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
260 <patternset refid="ignored.files"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
261 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
262
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
263 <patternset id="excluded.from.compilation.mercurial-common">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
264 <patternset refid="excluded.from.module.mercurial-common"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
265 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
266
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
267 <path id="mercurial-common.module.sourcepath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
268 <dirset dir="${module.mercurial-common.basedir}/mercurial-common">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
269 <include name="src"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
270 </dirset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
271 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
272
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
273
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
274 <target name="compile.module.mercurial-common" depends="compile.module.mercurial-common.production,compile.module.mercurial-common.tests" description="Compile module mercurial-common"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
275
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
276 <target name="compile.module.mercurial-common.production" description="Compile module mercurial-common; production classes">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
277 <mkdir dir="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
278 <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">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
279 <compilerarg line="${compiler.args.mercurial-common}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
280 <bootclasspath refid="mercurial-common.module.bootclasspath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
281 <classpath refid="mercurial-common.module.production.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
282 <src refid="mercurial-common.module.sourcepath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
283 <patternset refid="excluded.from.compilation.mercurial-common"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
284 </javac>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
285
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
286 <copy todir="${mercurial-common.output.dir}">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
287 <fileset dir="${module.mercurial-common.basedir}/mercurial-common/src">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
288 <patternset refid="compiler.resources"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
289 <type type="file"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
290 </fileset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
291 </copy>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
292 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
293
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
294 <target name="compile.module.mercurial-common.tests" depends="compile.module.mercurial-common.production" description="compile module mercurial-common; test classes" unless="skip.tests"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
295
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
296 <target name="clean.module.mercurial-common" description="cleanup module">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
297 <delete dir="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
298 <delete dir="${mercurial-common.testoutput.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
299 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
300
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
301
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
302 <!-- Module mercurial-agent -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
303
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
304 <dirname property="module.mercurial-agent.basedir" file="${ant.file}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
305
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
306
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
307 <property name="module.jdk.home.mercurial-agent" value="${project.jdk.home}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
308 <property name="module.jdk.bin.mercurial-agent" value="${project.jdk.bin}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
309 <property name="module.jdk.classpath.mercurial-agent" value="${project.jdk.classpath}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
310
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
311 <property name="compiler.args.mercurial-agent" value="${compiler.args}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
312
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
313 <property name="mercurial-agent.output.dir" value="${module.mercurial-agent.basedir}/mercurial-agent/classes"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
314 <property name="mercurial-agent.testoutput.dir" value="${module.mercurial-agent.basedir}/mercurial-agent/classes"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
315
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
316 <path id="mercurial-agent.module.bootclasspath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
317 <!-- Paths to be included in compilation bootclasspath -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
318 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
319
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
320 <path id="mercurial-agent.module.production.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
321 <path refid="${module.jdk.classpath.mercurial-agent}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
322 <path refid="library.teamcityapi-agent.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
323 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
324 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
325 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
326 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
327
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
328 <path id="mercurial-agent.runtime.production.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
329 <pathelement location="${mercurial-agent.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
330 <path refid="library.teamcityapi-agent.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
331 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
332 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
333 <path refid="library.idea-openapi.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
334 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
335 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
336
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
337 <path id="mercurial-agent.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
338 <path refid="${module.jdk.classpath.mercurial-agent}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
339 <pathelement location="${mercurial-agent.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
340 <path refid="library.teamcityapi-agent.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
341 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
342 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
343 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
344 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
345
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
346 <path id="mercurial-agent.runtime.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
347 <pathelement location="${mercurial-agent.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
348 <path refid="library.teamcityapi-agent.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
349 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
350 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
351 <path refid="library.idea-openapi.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
352 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
353 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
354
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
355
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
356 <patternset id="excluded.from.module.mercurial-agent">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
357 <patternset refid="ignored.files"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
358 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
359
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
360 <patternset id="excluded.from.compilation.mercurial-agent">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
361 <patternset refid="excluded.from.module.mercurial-agent"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
362 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
363
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
364 <path id="mercurial-agent.module.sourcepath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
365 <dirset dir="${module.mercurial-agent.basedir}/mercurial-agent">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
366 <include name="src"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
367 </dirset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
368 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
369
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
370
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
371 <target name="compile.module.mercurial-agent" depends="compile.module.mercurial-agent.production,compile.module.mercurial-agent.tests" description="Compile module mercurial-agent"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
372
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
373 <target name="compile.module.mercurial-agent.production" depends="compile.module.mercurial-common" description="Compile module mercurial-agent; production classes">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
374 <mkdir dir="${mercurial-agent.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
375 <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">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
376 <compilerarg line="${compiler.args.mercurial-agent}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
377 <bootclasspath refid="mercurial-agent.module.bootclasspath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
378 <classpath refid="mercurial-agent.module.production.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
379 <src refid="mercurial-agent.module.sourcepath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
380 <patternset refid="excluded.from.compilation.mercurial-agent"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
381 </javac>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
382
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
383 <copy todir="${mercurial-agent.output.dir}">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
384 <fileset dir="${module.mercurial-agent.basedir}/mercurial-agent/src">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
385 <patternset refid="compiler.resources"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
386 <type type="file"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
387 </fileset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
388 </copy>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
389 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
390
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
391 <target name="compile.module.mercurial-agent.tests" depends="compile.module.mercurial-agent.production" description="compile module mercurial-agent; test classes" unless="skip.tests"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
392
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
393 <target name="clean.module.mercurial-agent" description="cleanup module">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
394 <delete dir="${mercurial-agent.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
395 <delete dir="${mercurial-agent.testoutput.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
396 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
397
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
398
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
399 <!-- Module mercurial-server -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
400
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
401 <dirname property="module.mercurial-server.basedir" file="${ant.file}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
402
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
403
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
404 <property name="module.jdk.home.mercurial-server" value="${project.jdk.home}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
405 <property name="module.jdk.bin.mercurial-server" value="${project.jdk.bin}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
406 <property name="module.jdk.classpath.mercurial-server" value="${project.jdk.classpath}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
407
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
408 <property name="compiler.args.mercurial-server" value="${compiler.args}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
409
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
410 <property name="mercurial-server.output.dir" value="${module.mercurial-server.basedir}/mercurial-server/classes"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
411 <property name="mercurial-server.testoutput.dir" value="${module.mercurial-server.basedir}/mercurial-server/classes"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
412
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
413 <path id="mercurial-server.module.bootclasspath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
414 <!-- Paths to be included in compilation bootclasspath -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
415 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
416
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
417 <path id="mercurial-server.module.production.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
418 <path refid="${module.jdk.classpath.mercurial-server}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
419 <path refid="library.teamcityapi-server.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
420 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
421 <path refid="library.log4j.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
422 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
423 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
424 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
425
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
426 <path id="mercurial-server.runtime.production.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
427 <pathelement location="${mercurial-server.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
428 <path refid="library.teamcityapi-server.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
429 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
430 <path refid="library.log4j.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
431 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
432 <path refid="library.teamcityapi-common.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
433 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
434 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
435
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
436 <path id="mercurial-server.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
437 <path refid="${module.jdk.classpath.mercurial-server}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
438 <pathelement location="${mercurial-server.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
439 <path refid="library.teamcityapi-server.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
440 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
441 <path refid="library.log4j.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
442 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
443 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
444 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
445
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
446 <path id="mercurial-server.runtime.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
447 <pathelement location="${mercurial-server.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
448 <path refid="library.teamcityapi-server.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
449 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
450 <path refid="library.log4j.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
451 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
452 <path refid="library.teamcityapi-common.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
453 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
454 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
455
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
456
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
457 <patternset id="excluded.from.module.mercurial-server">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
458 <patternset refid="ignored.files"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
459 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
460
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
461 <patternset id="excluded.from.compilation.mercurial-server">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
462 <patternset refid="excluded.from.module.mercurial-server"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
463 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
464
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
465 <path id="mercurial-server.module.sourcepath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
466 <dirset dir="${module.mercurial-server.basedir}/mercurial-server">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
467 <include name="resources"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
468 <include name="src"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
469 </dirset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
470 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
471
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
472
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
473 <target name="compile.module.mercurial-server" depends="compile.module.mercurial-server.production,compile.module.mercurial-server.tests" description="Compile module mercurial-server"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
474
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
475 <target name="compile.module.mercurial-server.production" depends="compile.module.mercurial-common" description="Compile module mercurial-server; production classes">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
476 <mkdir dir="${mercurial-server.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
477 <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">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
478 <compilerarg line="${compiler.args.mercurial-server}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
479 <bootclasspath refid="mercurial-server.module.bootclasspath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
480 <classpath refid="mercurial-server.module.production.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
481 <src refid="mercurial-server.module.sourcepath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
482 <patternset refid="excluded.from.compilation.mercurial-server"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
483 </javac>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
484
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
485 <copy todir="${mercurial-server.output.dir}">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
486 <fileset dir="${module.mercurial-server.basedir}/mercurial-server/resources">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
487 <patternset refid="compiler.resources"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
488 <type type="file"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
489 </fileset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
490 <fileset dir="${module.mercurial-server.basedir}/mercurial-server/src">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
491 <patternset refid="compiler.resources"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
492 <type type="file"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
493 </fileset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
494 </copy>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
495 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
496
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
497 <target name="compile.module.mercurial-server.tests" depends="compile.module.mercurial-server.production" description="compile module mercurial-server; test classes" unless="skip.tests"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
498
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
499 <target name="clean.module.mercurial-server" description="cleanup module">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
500 <delete dir="${mercurial-server.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
501 <delete dir="${mercurial-server.testoutput.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
502 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
503
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
504
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
505 <!-- Module mercurial-tests -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
506
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
507 <dirname property="module.mercurial-tests.basedir" file="${ant.file}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
508
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
509
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
510 <property name="module.jdk.home.mercurial-tests" value="${project.jdk.home}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
511 <property name="module.jdk.bin.mercurial-tests" value="${project.jdk.bin}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
512 <property name="module.jdk.classpath.mercurial-tests" value="${project.jdk.classpath}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
513
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
514 <property name="compiler.args.mercurial-tests" value="${compiler.args}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
515
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
516 <property name="mercurial-tests.output.dir" value="${module.mercurial-tests.basedir}/mercurial-tests/classes"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
517 <property name="mercurial-tests.testoutput.dir" value="${module.mercurial-tests.basedir}/mercurial-tests/classes"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
518
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
519 <path id="mercurial-tests.module.bootclasspath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
520 <!-- Paths to be included in compilation bootclasspath -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
521 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
522
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
523 <path id="mercurial-tests.module.production.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
524 <path refid="${module.jdk.classpath.mercurial-tests}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
525 <pathelement location="${mercurial-server.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
526 <path refid="library.teamcityapi-server.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
527 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
528 <path refid="library.log4j.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
529 <path refid="library.junit.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
530 <path refid="library.testng.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
531 <path refid="library.jmock.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
532 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
533 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
534 <pathelement location="${mercurial-agent.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
535 <path refid="library.teamcity-testsapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
536 <path refid="library.teamcity-impl.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
537 <path refid="library.teamcityapi-agent.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
538 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
539
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
540 <path id="mercurial-tests.runtime.production.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
541 <pathelement location="${mercurial-tests.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
542 <pathelement location="${mercurial-server.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
543 <path refid="library.teamcityapi-server.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
544 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
545 <path refid="library.log4j.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
546 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
547 <path refid="library.teamcityapi-common.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
548 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
549 <path refid="library.junit.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
550 <path refid="library.testng.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
551 <path refid="library.jmock.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
552 <pathelement location="${mercurial-agent.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
553 <path refid="library.teamcityapi-agent.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
554 <path refid="library.teamcity-testsapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
555 <path refid="library.teamcity-impl.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
556 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
557
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
558 <path id="mercurial-tests.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
559 <path refid="${module.jdk.classpath.mercurial-tests}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
560 <pathelement location="${mercurial-tests.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
561 <pathelement location="${mercurial-server.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
562 <path refid="library.teamcityapi-server.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
563 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
564 <path refid="library.log4j.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
565 <path refid="library.junit.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
566 <path refid="library.testng.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
567 <path refid="library.jmock.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
568 <path refid="library.teamcityapi-common.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
569 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
570 <pathelement location="${mercurial-agent.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
571 <path refid="library.teamcity-testsapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
572 <path refid="library.teamcity-impl.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
573 <path refid="library.teamcityapi-agent.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
574 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
575
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
576 <path id="mercurial-tests.runtime.module.classpath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
577 <pathelement location="${mercurial-tests.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
578 <pathelement location="${mercurial-server.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
579 <path refid="library.teamcityapi-server.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
580 <path refid="library.idea-openapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
581 <path refid="library.log4j.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
582 <pathelement location="${mercurial-common.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
583 <path refid="library.teamcityapi-common.classpath"/>
290
fea86366d792 Regenerate a build script
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 181
diff changeset
584 <path refid="library.jdom.classpath"/>
146
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
585 <path refid="library.junit.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
586 <path refid="library.testng.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
587 <path refid="library.jmock.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
588 <pathelement location="${mercurial-agent.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
589 <path refid="library.teamcityapi-agent.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
590 <path refid="library.teamcity-testsapi.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
591 <path refid="library.teamcity-impl.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
592 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
593
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
594
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
595 <patternset id="excluded.from.module.mercurial-tests">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
596 <patternset refid="ignored.files"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
597 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
598
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
599 <patternset id="excluded.from.compilation.mercurial-tests">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
600 <patternset refid="excluded.from.module.mercurial-tests"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
601 </patternset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
602
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
603 <path id="mercurial-tests.module.test.sourcepath">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
604 <dirset dir="${module.mercurial-tests.basedir}/mercurial-tests">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
605 <include name="src"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
606 </dirset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
607 </path>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
608
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
609
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
610 <target name="compile.module.mercurial-tests" depends="compile.module.mercurial-tests.production,compile.module.mercurial-tests.tests" description="Compile module mercurial-tests"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
611
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
612 <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"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
613
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
614 <target name="compile.module.mercurial-tests.tests" depends="compile.module.mercurial-tests.production" description="compile module mercurial-tests; test classes" unless="skip.tests">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
615 <mkdir dir="${mercurial-tests.testoutput.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
616 <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">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
617 <compilerarg line="${compiler.args.mercurial-tests}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
618 <bootclasspath refid="mercurial-tests.module.bootclasspath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
619 <classpath refid="mercurial-tests.module.classpath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
620 <src refid="mercurial-tests.module.test.sourcepath"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
621 <patternset refid="excluded.from.compilation.mercurial-tests"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
622 </javac>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
623
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
624 <copy todir="${mercurial-tests.testoutput.dir}">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
625 <fileset dir="${module.mercurial-tests.basedir}/mercurial-tests/src">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
626 <patternset refid="compiler.resources"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
627 <type type="file"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
628 </fileset>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
629 </copy>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
630 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
631
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
632 <target name="clean.module.mercurial-tests" description="cleanup module">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
633 <delete dir="${mercurial-tests.output.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
634 <delete dir="${mercurial-tests.testoutput.dir}"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
635 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
636
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
637 <target name="init" description="Build initialization">
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
638 <!-- Perform any build initialization in this target -->
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
639 </target>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
640
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
641 <target name="clean" depends="clean.module.main, clean.module.mercurial-common, clean.module.mercurial-agent, clean.module.mercurial-server, clean.module.mercurial-tests" description="cleanup all"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
642
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
643 <target name="build.modules" depends="init, clean, compile.module.main, compile.module.mercurial-common, compile.module.mercurial-agent, compile.module.mercurial-server, compile.module.mercurial-tests" description="build all modules"/>
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
644
67a20cc047cb Add dependency from server.jar
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 134
diff changeset
645 <target name="all" depends="build.modules" description="build all"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
646 </project>