annotate mercurial.xml @ 134:3ee5a8558eed

remove dep on runtime-util.jar
author Pavel.Sher
date Tue, 26 Oct 2010 21:23:50 +0400
parents 8587a9c22d55
children 67a20cc047cb 48a16c82f0fe
rev   line source
51
d8661b24ed37 extracting runtime-util.jar
Pavel.Sher
parents: 34
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
2 <project name="mercurial" default="all">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
3
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
4
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
5 <property file="mercurial.properties"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
6 <!-- Uncomment the following property if no tests compilation is needed -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
7 <!--
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
8 <property name="skip.tests" value="true"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
9 -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
10
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
11 <!-- Compiler options -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
12
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
13 <property name="compiler.debug" value="on"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
14 <property name="compiler.generate.no.warnings" value="off"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
15 <property name="compiler.args" value=""/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
16 <property name="compiler.max.memory" value="128m"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
17 <patternset id="ignored.files">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
18 <exclude name="**/CVS/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
19 <exclude name="**/SCCS/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
20 <exclude name="**/RCS/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
21 <exclude name="**/rcs/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
22 <exclude name="**/.DS_Store/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
23 <exclude name="**/.svn/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
24 <exclude name="**/.pyc/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
25 <exclude name="**/.pyo/**"/>
51
d8661b24ed37 extracting runtime-util.jar
Pavel.Sher
parents: 34
diff changeset
26 <exclude name="**/*.pyc/**"/>
d8661b24ed37 extracting runtime-util.jar
Pavel.Sher
parents: 34
diff changeset
27 <exclude name="**/*.pyo/**"/>
d8661b24ed37 extracting runtime-util.jar
Pavel.Sher
parents: 34
diff changeset
28 <exclude name="**/.git/**"/>
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
29 <exclude name="**/*.hprof/**"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
30 <exclude name="**/_svn/**"/>
106
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
31 <exclude name="**/.hg/**"/>
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
32 <exclude name="**/.sbas/**"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
33 <exclude name="**/.IJI.*/**"/>
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
34 </patternset>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
35 <patternset id="library.patterns">
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
36 <include name="*.zip"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
37 <include name="*.war"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
38 <include name="*.egg"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
39 <include name="*.ear"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
40 <include name="*.swc"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
41 <include name="*.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
42 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
43 <patternset id="compiler.resources">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
44 <include name="**/?*.properties"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
45 <include name="**/?*.xml"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
46 <include name="**/?*.gif"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
47 <include name="**/?*.png"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
48 <include name="**/?*.jpeg"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
49 <include name="**/?*.jpg"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
50 <include name="**/?*.html"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
51 <include name="**/?*.dtd"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
52 <include name="**/?*.tld"/>
6
c05869fe20af dist target added
Pavel.Sher
parents: 5
diff changeset
53 <include name="**/?*.jsp"/>
c05869fe20af dist target added
Pavel.Sher
parents: 5
diff changeset
54 <include name="**/?*.tag"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
55 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
56
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
57
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
58 <!-- Project Libraries -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
59
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
60 <path id="library.idea-openapi.classpath">
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
61 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/annotations.jar"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
62 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/openapi.jar"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
63 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/resources_en.jar"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
64 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/util.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
65 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
66
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
67 <path id="library.jmock.classpath">
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
68 <pathelement location="${basedir}/mercurial-tests/lib/jmock-SNAPSHOT.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
69 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
70
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
71 <path id="library.junit.classpath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
72 <pathelement location="${basedir}/mercurial-tests/lib/junit-3.8.1.jar"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
73 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
74
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
75 <path id="library.log4j.classpath">
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
76 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/log4j-1.2.12.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
77 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
78
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
79 <path id="library.teamcity-impl.classpath">
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
80 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/patches-impl.jar"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
81 <pathelement location="${path.variable.teamcitydistribution}/webapps/ROOT/WEB-INF/lib/trove4j.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
82 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
83
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
84 <path id="library.teamcity-testsapi.classpath">
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
85 <pathelement location="${path.variable.teamcitydistribution}/devPackage/tests/patches-test.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
86 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
87
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
88 <path id="library.teamcityapi-agent.classpath">
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
89 <pathelement location="${path.variable.teamcitydistribution}/devPackage/agent-api.jar"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
90 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
91
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
92 <path id="library.teamcityapi-common.classpath">
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
93 <pathelement location="${path.variable.teamcitydistribution}/devPackage/common-api.jar"/>
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
94 </path>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
95
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
96 <path id="library.teamcityapi-server.classpath">
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
97 <pathelement location="${path.variable.teamcitydistribution}/devPackage/server-api.jar"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
98 </path>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
99
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
100 <path id="library.testng.classpath">
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
101 <pathelement location="${basedir}/mercurial-tests/lib/testng-5.7-jdk15.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
102 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
103
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
104
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
105 <!-- Global Libraries -->
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
106
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
107
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
108 <!-- Application Server Libraries -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
109
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
110 <!-- Modules -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
111
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
112
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
113 <!-- Module main -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
114
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
115 <dirname property="module.main.basedir" file="${ant.file}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
116
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
117
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
118
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
119 <property name="compiler.args.main" value="${compiler.args}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
120
15
3539151629aa new TC openapi libs added
Pavel.Sher
parents: 6
diff changeset
121 <property name="main.output.dir" value="undefined"/>
3539151629aa new TC openapi libs added
Pavel.Sher
parents: 6
diff changeset
122 <property name="main.testoutput.dir" value="undefined"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
123
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
124 <path id="main.module.bootclasspath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
125 <!-- Paths to be included in compilation bootclasspath -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
126 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
127
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
128 <path id="main.module.production.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
129
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
130 <path id="main.runtime.production.module.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
131
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
132 <path id="main.module.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
133
15
3539151629aa new TC openapi libs added
Pavel.Sher
parents: 6
diff changeset
134 <path id="main.runtime.module.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
135
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
136
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
137 <patternset id="excluded.from.module.main">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
138 <patternset refid="ignored.files"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
139 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
140
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
141 <patternset id="excluded.from.compilation.main">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
142 <patternset refid="excluded.from.module.main"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
143 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
144
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
145
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
146 <target name="compile.module.main" depends="compile.module.main.production,compile.module.main.tests" description="Compile module main"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
147
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
148 <target name="compile.module.main.production" description="Compile module main; production classes"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
149
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
150 <target name="compile.module.main.tests" depends="compile.module.main.production" description="compile module main; test classes" unless="skip.tests"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
151
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
152 <target name="clean.module.main" description="cleanup module">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
153 <delete dir="${main.output.dir}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
154 <delete dir="${main.testoutput.dir}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
155 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
156
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
157
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
158 <!-- Module mercurial-common -->
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
159
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
160 <dirname property="module.mercurial-common.basedir" file="${ant.file}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
161
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
162
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
163
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
164 <property name="compiler.args.mercurial-common" value="${compiler.args}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
165
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
166 <property name="mercurial-common.output.dir" value="${module.mercurial-common.basedir}/mercurial-common/classes"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
167 <property name="mercurial-common.testoutput.dir" value="${module.mercurial-common.basedir}/mercurial-common/classes"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
168
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
169 <path id="mercurial-common.module.bootclasspath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
170 <!-- Paths to be included in compilation bootclasspath -->
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
171 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
172
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
173 <path id="mercurial-common.module.production.classpath">
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
174 <path refid="library.teamcityapi-common.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
175 <path refid="library.idea-openapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
176 </path>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
177
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
178 <path id="mercurial-common.runtime.production.module.classpath">
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
179 <pathelement location="${mercurial-common.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
180 <path refid="library.teamcityapi-common.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
181 <path refid="library.idea-openapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
182 </path>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
183
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
184 <path id="mercurial-common.module.classpath">
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
185 <pathelement location="${mercurial-common.output.dir}"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
186 <path refid="library.teamcityapi-common.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
187 <path refid="library.idea-openapi.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
188 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
189
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
190 <path id="mercurial-common.runtime.module.classpath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
191 <pathelement location="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
192 <path refid="library.teamcityapi-common.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
193 <path refid="library.idea-openapi.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
194 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
195
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
196
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
197 <patternset id="excluded.from.module.mercurial-common">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
198 <patternset refid="ignored.files"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
199 </patternset>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
200
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
201 <patternset id="excluded.from.compilation.mercurial-common">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
202 <patternset refid="excluded.from.module.mercurial-common"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
203 </patternset>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
204
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
205 <path id="mercurial-common.module.sourcepath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
206 <dirset dir="${module.mercurial-common.basedir}/mercurial-common">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
207 <include name="src"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
208 </dirset>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
209 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
210
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
211
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
212 <target name="compile.module.mercurial-common" depends="compile.module.mercurial-common.production,compile.module.mercurial-common.tests" description="Compile module mercurial-common"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
213
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
214 <target name="compile.module.mercurial-common.production" description="Compile module mercurial-common; production classes">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
215 <mkdir dir="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
216 <javac destdir="${mercurial-common.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
217 <compilerarg line="${compiler.args.mercurial-common}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
218 <bootclasspath refid="mercurial-common.module.bootclasspath"/>
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
219 <classpath refid="mercurial-common.module.production.classpath"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
220 <src refid="mercurial-common.module.sourcepath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
221 <patternset refid="excluded.from.compilation.mercurial-common"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
222 </javac>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
223
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
224 <copy todir="${mercurial-common.output.dir}">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
225 <fileset dir="${module.mercurial-common.basedir}/mercurial-common/src">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
226 <patternset refid="compiler.resources"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
227 <type type="file"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
228 </fileset>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
229 </copy>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
230 </target>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
231
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
232 <target name="compile.module.mercurial-common.tests" depends="compile.module.mercurial-common.production" description="compile module mercurial-common; test classes" unless="skip.tests"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
233
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
234 <target name="clean.module.mercurial-common" description="cleanup module">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
235 <delete dir="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
236 <delete dir="${mercurial-common.testoutput.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
237 </target>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
238
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
239
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
240 <!-- Module mercurial-agent -->
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
241
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
242 <dirname property="module.mercurial-agent.basedir" file="${ant.file}"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
243
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
244
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
245
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
246 <property name="compiler.args.mercurial-agent" value="${compiler.args}"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
247
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
248 <property name="mercurial-agent.output.dir" value="${module.mercurial-agent.basedir}/mercurial-agent/classes"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
249 <property name="mercurial-agent.testoutput.dir" value="${module.mercurial-agent.basedir}/mercurial-agent/classes"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
250
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
251 <path id="mercurial-agent.module.bootclasspath">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
252 <!-- Paths to be included in compilation bootclasspath -->
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
253 </path>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
254
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
255 <path id="mercurial-agent.module.production.classpath">
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
256 <path refid="library.teamcityapi-agent.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
257 <pathelement location="${mercurial-common.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
258 <path refid="library.teamcityapi-common.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
259 <path refid="library.idea-openapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
260 </path>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
261
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
262 <path id="mercurial-agent.runtime.production.module.classpath">
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
263 <pathelement location="${mercurial-agent.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
264 <path refid="library.teamcityapi-agent.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
265 <pathelement location="${mercurial-common.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
266 <path refid="library.teamcityapi-common.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
267 <path refid="library.idea-openapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
268 </path>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
269
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
270 <path id="mercurial-agent.module.classpath">
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
271 <pathelement location="${mercurial-agent.output.dir}"/>
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
272 <path refid="library.teamcityapi-agent.classpath"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
273 <pathelement location="${mercurial-common.output.dir}"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
274 <path refid="library.teamcityapi-common.classpath"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
275 <path refid="library.idea-openapi.classpath"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
276 </path>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
277
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
278 <path id="mercurial-agent.runtime.module.classpath">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
279 <pathelement location="${mercurial-agent.output.dir}"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
280 <path refid="library.teamcityapi-agent.classpath"/>
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
281 <pathelement location="${mercurial-common.output.dir}"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
282 <path refid="library.teamcityapi-common.classpath"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
283 <path refid="library.idea-openapi.classpath"/>
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
284 </path>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
285
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
286
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
287 <patternset id="excluded.from.module.mercurial-agent">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
288 <patternset refid="ignored.files"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
289 </patternset>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
290
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
291 <patternset id="excluded.from.compilation.mercurial-agent">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
292 <patternset refid="excluded.from.module.mercurial-agent"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
293 </patternset>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
294
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
295 <path id="mercurial-agent.module.sourcepath">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
296 <dirset dir="${module.mercurial-agent.basedir}/mercurial-agent">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
297 <include name="src"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
298 </dirset>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
299 </path>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
300
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
301
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
302 <target name="compile.module.mercurial-agent" depends="compile.module.mercurial-agent.production,compile.module.mercurial-agent.tests" description="Compile module mercurial-agent"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
303
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
304 <target name="compile.module.mercurial-agent.production" depends="compile.module.mercurial-common" description="Compile module mercurial-agent; production classes">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
305 <mkdir dir="${mercurial-agent.output.dir}"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
306 <javac destdir="${mercurial-agent.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
307 <compilerarg line="${compiler.args.mercurial-agent}"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
308 <bootclasspath refid="mercurial-agent.module.bootclasspath"/>
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
309 <classpath refid="mercurial-agent.module.production.classpath"/>
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
310 <src refid="mercurial-agent.module.sourcepath"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
311 <patternset refid="excluded.from.compilation.mercurial-agent"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
312 </javac>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
313
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
314 <copy todir="${mercurial-agent.output.dir}">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
315 <fileset dir="${module.mercurial-agent.basedir}/mercurial-agent/src">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
316 <patternset refid="compiler.resources"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
317 <type type="file"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
318 </fileset>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
319 </copy>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
320 </target>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
321
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
322 <target name="compile.module.mercurial-agent.tests" depends="compile.module.mercurial-agent.production" description="compile module mercurial-agent; test classes" unless="skip.tests"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
323
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
324 <target name="clean.module.mercurial-agent" description="cleanup module">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
325 <delete dir="${mercurial-agent.output.dir}"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
326 <delete dir="${mercurial-agent.testoutput.dir}"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
327 </target>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
328
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
329
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
330 <!-- Module mercurial-server -->
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
331
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
332 <dirname property="module.mercurial-server.basedir" file="${ant.file}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
333
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
334
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
335
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
336 <property name="compiler.args.mercurial-server" value="${compiler.args}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
337
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
338 <property name="mercurial-server.output.dir" value="${module.mercurial-server.basedir}/mercurial-server/classes"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
339 <property name="mercurial-server.testoutput.dir" value="${module.mercurial-server.basedir}/mercurial-server/classes"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
340
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
341 <path id="mercurial-server.module.bootclasspath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
342 <!-- Paths to be included in compilation bootclasspath -->
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
343 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
344
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
345 <path id="mercurial-server.module.production.classpath">
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
346 <path refid="library.teamcityapi-server.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
347 <path refid="library.idea-openapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
348 <path refid="library.log4j.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
349 <pathelement location="${mercurial-common.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
350 <path refid="library.teamcityapi-common.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
351 </path>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
352
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
353 <path id="mercurial-server.runtime.production.module.classpath">
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
354 <pathelement location="${mercurial-server.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
355 <path refid="library.teamcityapi-server.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
356 <path refid="library.idea-openapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
357 <path refid="library.log4j.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
358 <pathelement location="${mercurial-common.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
359 <path refid="library.teamcityapi-common.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
360 </path>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
361
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
362 <path id="mercurial-server.module.classpath">
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
363 <pathelement location="${mercurial-server.output.dir}"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
364 <path refid="library.teamcityapi-server.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
365 <path refid="library.idea-openapi.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
366 <path refid="library.log4j.classpath"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
367 <pathelement location="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
368 <path refid="library.teamcityapi-common.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
369 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
370
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
371 <path id="mercurial-server.runtime.module.classpath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
372 <pathelement location="${mercurial-server.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
373 <path refid="library.teamcityapi-server.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
374 <path refid="library.idea-openapi.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
375 <path refid="library.log4j.classpath"/>
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
376 <pathelement location="${mercurial-common.output.dir}"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
377 <path refid="library.teamcityapi-common.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
378 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
379
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
380
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
381 <patternset id="excluded.from.module.mercurial-server">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
382 <patternset refid="ignored.files"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
383 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
384
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
385 <patternset id="excluded.from.compilation.mercurial-server">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
386 <patternset refid="excluded.from.module.mercurial-server"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
387 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
388
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
389 <path id="mercurial-server.module.sourcepath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
390 <dirset dir="${module.mercurial-server.basedir}/mercurial-server">
6
c05869fe20af dist target added
Pavel.Sher
parents: 5
diff changeset
391 <include name="resources"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
392 <include name="src"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
393 </dirset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
394 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
395
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
396
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
397 <target name="compile.module.mercurial-server" depends="compile.module.mercurial-server.production,compile.module.mercurial-server.tests" description="Compile module mercurial-server"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
398
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
399 <target name="compile.module.mercurial-server.production" depends="compile.module.mercurial-common" description="Compile module mercurial-server; production classes">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
400 <mkdir dir="${mercurial-server.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
401 <javac destdir="${mercurial-server.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
402 <compilerarg line="${compiler.args.mercurial-server}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
403 <bootclasspath refid="mercurial-server.module.bootclasspath"/>
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
404 <classpath refid="mercurial-server.module.production.classpath"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
405 <src refid="mercurial-server.module.sourcepath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
406 <patternset refid="excluded.from.compilation.mercurial-server"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
407 </javac>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
408
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
409 <copy todir="${mercurial-server.output.dir}">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
410 <fileset dir="${module.mercurial-server.basedir}/mercurial-server/resources">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
411 <patternset refid="compiler.resources"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
412 <type type="file"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
413 </fileset>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
414 <fileset dir="${module.mercurial-server.basedir}/mercurial-server/src">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
415 <patternset refid="compiler.resources"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
416 <type type="file"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
417 </fileset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
418 </copy>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
419 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
420
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
421 <target name="compile.module.mercurial-server.tests" depends="compile.module.mercurial-server.production" description="compile module mercurial-server; test classes" unless="skip.tests"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
422
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
423 <target name="clean.module.mercurial-server" description="cleanup module">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
424 <delete dir="${mercurial-server.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
425 <delete dir="${mercurial-server.testoutput.dir}"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
426 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
427
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
428
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
429 <!-- Module mercurial-tests -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
430
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
431 <dirname property="module.mercurial-tests.basedir" file="${ant.file}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
432
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
433
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
434
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
435 <property name="compiler.args.mercurial-tests" value="${compiler.args}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
436
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
437 <property name="mercurial-tests.output.dir" value="${module.mercurial-tests.basedir}/mercurial-tests/classes"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
438 <property name="mercurial-tests.testoutput.dir" value="${module.mercurial-tests.basedir}/mercurial-tests/classes"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
439
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
440 <path id="mercurial-tests.module.bootclasspath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
441 <!-- Paths to be included in compilation bootclasspath -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
442 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
443
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
444 <path id="mercurial-tests.module.production.classpath">
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
445 <pathelement location="${mercurial-server.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
446 <path refid="library.teamcityapi-server.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
447 <path refid="library.idea-openapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
448 <path refid="library.log4j.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
449 <path refid="library.junit.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
450 <path refid="library.testng.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
451 <path refid="library.jmock.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
452 <path refid="library.teamcityapi-common.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
453 <pathelement location="${mercurial-common.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
454 <pathelement location="${mercurial-agent.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
455 <path refid="library.teamcity-testsapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
456 <path refid="library.teamcity-impl.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
457 <path refid="library.teamcityapi-agent.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
458 </path>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
459
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
460 <path id="mercurial-tests.runtime.production.module.classpath">
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
461 <pathelement location="${mercurial-tests.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
462 <pathelement location="${mercurial-server.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
463 <path refid="library.teamcityapi-server.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
464 <path refid="library.idea-openapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
465 <path refid="library.log4j.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
466 <pathelement location="${mercurial-common.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
467 <path refid="library.teamcityapi-common.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
468 <path refid="library.junit.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
469 <path refid="library.testng.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
470 <path refid="library.jmock.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
471 <pathelement location="${mercurial-agent.output.dir}"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
472 <path refid="library.teamcityapi-agent.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
473 <path refid="library.teamcity-testsapi.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
474 <path refid="library.teamcity-impl.classpath"/>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
475 </path>
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
476
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
477 <path id="mercurial-tests.module.classpath">
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
478 <pathelement location="${mercurial-tests.output.dir}"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
479 <pathelement location="${mercurial-server.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
480 <path refid="library.teamcityapi-server.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
481 <path refid="library.idea-openapi.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
482 <path refid="library.log4j.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
483 <path refid="library.junit.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
484 <path refid="library.testng.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
485 <path refid="library.jmock.classpath"/>
51
d8661b24ed37 extracting runtime-util.jar
Pavel.Sher
parents: 34
diff changeset
486 <path refid="library.teamcityapi-common.classpath"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
487 <pathelement location="${mercurial-common.output.dir}"/>
34
0052d368c90c initial working version of agent side checkout + some tests
Pavel.Sher
parents: 28
diff changeset
488 <pathelement location="${mercurial-agent.output.dir}"/>
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
489 <path refid="library.teamcity-testsapi.classpath"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
490 <path refid="library.teamcity-impl.classpath"/>
106
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
491 <path refid="library.teamcityapi-agent.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
492 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
493
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
494 <path id="mercurial-tests.runtime.module.classpath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
495 <pathelement location="${mercurial-tests.output.dir}"/>
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
496 <pathelement location="${mercurial-server.output.dir}"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
497 <path refid="library.teamcityapi-server.classpath"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
498 <path refid="library.idea-openapi.classpath"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
499 <path refid="library.log4j.classpath"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
500 <pathelement location="${mercurial-common.output.dir}"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
501 <path refid="library.teamcityapi-common.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
502 <path refid="library.junit.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
503 <path refid="library.testng.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
504 <path refid="library.jmock.classpath"/>
77
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
505 <pathelement location="${mercurial-agent.output.dir}"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
506 <path refid="library.teamcityapi-agent.classpath"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
507 <path refid="library.teamcity-testsapi.classpath"/>
cfbeaf010bd4 prepare to bundle with TeamCity
Pavel.Sher
parents: 51
diff changeset
508 <path refid="library.teamcity-impl.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
509 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
510
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
511
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
512 <patternset id="excluded.from.module.mercurial-tests">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
513 <patternset refid="ignored.files"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
514 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
515
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
516 <patternset id="excluded.from.compilation.mercurial-tests">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
517 <patternset refid="excluded.from.module.mercurial-tests"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
518 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
519
106
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
520 <path id="mercurial-tests.module.test.sourcepath">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
521 <dirset dir="${module.mercurial-tests.basedir}/mercurial-tests">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
522 <include name="src"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
523 </dirset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
524 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
525
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
526
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
527 <target name="compile.module.mercurial-tests" depends="compile.module.mercurial-tests.production,compile.module.mercurial-tests.tests" description="Compile module mercurial-tests"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
528
106
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
529 <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"/>
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
530
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
531 <target name="compile.module.mercurial-tests.tests" depends="compile.module.mercurial-tests.production" description="compile module mercurial-tests; test classes" unless="skip.tests">
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
532 <mkdir dir="${mercurial-tests.testoutput.dir}"/>
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
533 <javac destdir="${mercurial-tests.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
534 <compilerarg line="${compiler.args.mercurial-tests}"/>
134
3ee5a8558eed remove dep on runtime-util.jar
Pavel.Sher
parents: 106
diff changeset
535 <bootclasspath refid="mercurial-tests.module.bootclasspath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
536 <classpath refid="mercurial-tests.module.classpath"/>
106
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
537 <src refid="mercurial-tests.module.test.sourcepath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
538 <patternset refid="excluded.from.compilation.mercurial-tests"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
539 </javac>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
540
106
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
541 <copy todir="${mercurial-tests.testoutput.dir}">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
542 <fileset dir="${module.mercurial-tests.basedir}/mercurial-tests/src">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
543 <patternset refid="compiler.resources"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
544 <type type="file"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
545 </fileset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
546 </copy>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
547 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
548
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
549 <target name="clean.module.mercurial-tests" description="cleanup module">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
550 <delete dir="${mercurial-tests.output.dir}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
551 <delete dir="${mercurial-tests.testoutput.dir}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
552 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
553
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
554 <target name="init" description="Build initialization">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
555 <!-- Perform any build initialization in this target -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
556 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
557
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
558 <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"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
559
106
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
560 <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"/>
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
561
8587a9c22d55 switch to new API
Pavel.Sher
parents: 77
diff changeset
562 <target name="all" depends="build.modules" description="build all"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
563 </project>