annotate mercurial.xml @ 34:0052d368c90c

initial working version of agent side checkout + some tests
author Pavel.Sher
date Thu, 31 Jul 2008 00:36:47 +0400
parents a7cab5083ada
children d8661b24ed37
rev   line source
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
1 <?xml version="1.0" encoding="ISO-8859-1"?>
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="**/vssver.scc/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
25 <exclude name="**/vssver2.scc/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
26 <exclude name="**/.sbas/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
27 <exclude name="**/.IJI.*/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
28 <exclude name="**/.pyc/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
29 <exclude name="**/.pyo/**"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
30 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
31 <patternset id="compiler.resources">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
32 <include name="**/?*.properties"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
33 <include name="**/?*.xml"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
34 <include name="**/?*.gif"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
35 <include name="**/?*.png"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
36 <include name="**/?*.jpeg"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
37 <include name="**/?*.jpg"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
38 <include name="**/?*.html"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
39 <include name="**/?*.dtd"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
40 <include name="**/?*.tld"/>
6
c05869fe20af dist target added
Pavel.Sher
parents: 5
diff changeset
41 <include name="**/?*.jsp"/>
c05869fe20af dist target added
Pavel.Sher
parents: 5
diff changeset
42 <include name="**/?*.tag"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
43 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
44
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
45
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
46 <!-- Project Libraries -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
47
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
48 <path id="library.teamcityapi-server.classpath">
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
49 <pathelement location="${basedir}/lib/server-api.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
50 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
51
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
52 <path id="library.idea-openapi.classpath">
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
53 <pathelement location="${basedir}/lib/util.jar"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
54 <pathelement location="${basedir}/lib/openapi.jar"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
55 <pathelement location="${basedir}/lib/resources_en.jar"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
56 <pathelement location="${basedir}/lib/annotations.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
57 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
58
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
59 <path id="library.teamcity-testssupport.classpath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
60 <pathelement location="${basedir}/mercurial-tests/lib/patches-tests.jar"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
61 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
62
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
63 <path id="library.junit.classpath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
64 <pathelement location="${basedir}/mercurial-tests/lib/junit-3.8.1.jar"/>
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
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
67 <path id="library.testng.classpath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
68 <pathelement location="${basedir}/mercurial-tests/lib/testng-5.7-jdk15.jar"/>
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.jmock.classpath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
72 <pathelement location="${basedir}/mercurial-tests/lib/jmock-SNAPSHOT.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
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
75 <path id="library.teamcity-impl.classpath">
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
76 <pathelement location="${basedir}/lib/patches-impl.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.log4j.classpath">
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
80 <pathelement location="${basedir}/lib/log4j-1.2.12.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
81 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
82
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
83 <path id="library.gnu_trove.classpath">
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
84 <pathelement location="${basedir}/lib/trove4j.jar"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
85 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
86
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
87 <path id="library.teamcityapi-common.classpath">
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
88 <pathelement location="${basedir}/lib/common-api.jar"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
89 </path>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
90
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
91 <path id="library.teamcityapi-agent.classpath">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
92 <pathelement location="${basedir}/lib/agent-api.jar"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
93 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
94
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
95
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
96 <!-- Application Server Libraries -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
97
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
98 <!-- Modules -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
99
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
100
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
101 <!-- Module main -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
102
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
103 <dirname property="module.main.basedir" file="${ant.file}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
104
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
105
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
106
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
107 <property name="compiler.args.main" value="${compiler.args}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
108
15
3539151629aa new TC openapi libs added
Pavel.Sher
parents: 6
diff changeset
109 <property name="main.output.dir" value="undefined"/>
3539151629aa new TC openapi libs added
Pavel.Sher
parents: 6
diff changeset
110 <property name="main.testoutput.dir" value="undefined"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
111
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
112 <path id="main.module.bootclasspath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
113 <!-- Paths to be included in compilation bootclasspath -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
114 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
115
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
116 <path id="main.module.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
117
15
3539151629aa new TC openapi libs added
Pavel.Sher
parents: 6
diff changeset
118 <path id="main.runtime.module.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
119
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
120
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
121 <patternset id="excluded.from.module.main">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
122 <patternset refid="ignored.files"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
123 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
124
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
125 <patternset id="excluded.from.compilation.main">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
126 <patternset refid="excluded.from.module.main"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
127 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
128
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
129
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
130 <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
131
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
132 <target name="compile.module.main.production" description="Compile module main; production classes"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
133
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
134 <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
135
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
136 <target name="clean.module.main" description="cleanup module">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
137 <delete dir="${main.output.dir}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
138 <delete dir="${main.testoutput.dir}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
139 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
140
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
141
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
142 <!-- Module mercurial-common -->
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
143
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
144 <dirname property="module.mercurial-common.basedir" file="${ant.file}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
145
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
146
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
147
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
148 <property name="compiler.args.mercurial-common" value="${compiler.args}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
149
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
150 <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
151 <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
152
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
153 <path id="mercurial-common.module.bootclasspath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
154 <!-- Paths to be included in compilation bootclasspath -->
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
155 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
156
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
157 <path id="mercurial-common.module.classpath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
158 <path refid="library.teamcityapi-common.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
159 <path refid="library.idea-openapi.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
160 </path>
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 <path id="mercurial-common.runtime.module.classpath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
163 <pathelement location="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
164 <path refid="library.teamcityapi-common.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
165 <path refid="library.idea-openapi.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
166 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
167
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 <patternset id="excluded.from.module.mercurial-common">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
170 <patternset refid="ignored.files"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
171 </patternset>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
172
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
173 <patternset id="excluded.from.compilation.mercurial-common">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
174 <patternset refid="excluded.from.module.mercurial-common"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
175 </patternset>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
176
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
177 <path id="mercurial-common.module.sourcepath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
178 <dirset dir="${module.mercurial-common.basedir}/mercurial-common">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
179 <include name="src"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
180 </dirset>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
181 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
182
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
183
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
184 <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
185
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
186 <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
187 <mkdir dir="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
188 <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
189 <compilerarg line="${compiler.args.mercurial-common}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
190 <bootclasspath refid="mercurial-common.module.bootclasspath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
191 <classpath refid="mercurial-common.module.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
192 <src refid="mercurial-common.module.sourcepath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
193 <patternset refid="excluded.from.compilation.mercurial-common"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
194 </javac>
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 <copy todir="${mercurial-common.output.dir}">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
197 <fileset dir="${module.mercurial-common.basedir}/mercurial-common/src">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
198 <patternset refid="compiler.resources"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
199 <type type="file"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
200 </fileset>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
201 </copy>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
202 </target>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
203
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
204 <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
205
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
206 <target name="clean.module.mercurial-common" description="cleanup module">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
207 <delete dir="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
208 <delete dir="${mercurial-common.testoutput.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
209 </target>
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
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
212 <!-- Module mercurial-agent -->
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
213
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
214 <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
215
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
216
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
217
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
218 <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
219
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
220 <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
221 <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
222
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
223 <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
224 <!-- 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
225 </path>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
226
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
227 <path id="mercurial-agent.module.classpath">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
228 <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
229 <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
230 <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
231 <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
232 </path>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
233
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
234 <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
235 <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
236 <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
237 <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
238 <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
239 <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
240 </path>
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
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
243 <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
244 <patternset refid="ignored.files"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
245 </patternset>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
246
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
247 <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
248 <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
249 </patternset>
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.sourcepath">
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
252 <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
253 <include name="src"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
254 </dirset>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
255 </path>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
256
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
257
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
258 <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
259
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
260 <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
261 <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
262 <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
263 <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
264 <bootclasspath refid="mercurial-agent.module.bootclasspath"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
265 <classpath refid="mercurial-agent.module.classpath"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
266 <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
267 <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
268 </javac>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
269
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
270 <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
271 <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
272 <patternset refid="compiler.resources"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
273 <type type="file"/>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
274 </fileset>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
275 </copy>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
276 </target>
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 <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
279
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
280 <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
281 <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
282 <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
283 </target>
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
284
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
285
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
286 <!-- Module mercurial-server -->
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
287
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
288 <dirname property="module.mercurial-server.basedir" file="${ant.file}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
289
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
290
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
291
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
292 <property name="compiler.args.mercurial-server" value="${compiler.args}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
293
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
294 <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
295 <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
296
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
297 <path id="mercurial-server.module.bootclasspath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
298 <!-- Paths to be included in compilation bootclasspath -->
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
299 </path>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
300
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
301 <path id="mercurial-server.module.classpath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
302 <path refid="library.teamcityapi-server.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
303 <path refid="library.idea-openapi.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
304 <path refid="library.teamcity-impl.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
305 <path refid="library.log4j.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
306 <path refid="library.gnu_trove.classpath"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
307 <pathelement location="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
308 <path refid="library.teamcityapi-common.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
309 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
310
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
311 <path id="mercurial-server.runtime.module.classpath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
312 <pathelement location="${mercurial-server.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
313 <path refid="library.teamcityapi-server.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
314 <path refid="library.idea-openapi.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
315 <path refid="library.teamcity-impl.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
316 <path refid="library.log4j.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
317 <path refid="library.gnu_trove.classpath"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
318 <pathelement location="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
319 <path refid="library.teamcityapi-common.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
320 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
321
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
322
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
323 <patternset id="excluded.from.module.mercurial-server">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
324 <patternset refid="ignored.files"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
325 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
326
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
327 <patternset id="excluded.from.compilation.mercurial-server">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
328 <patternset refid="excluded.from.module.mercurial-server"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
329 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
330
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
331 <path id="mercurial-server.module.sourcepath">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
332 <dirset dir="${module.mercurial-server.basedir}/mercurial-server">
6
c05869fe20af dist target added
Pavel.Sher
parents: 5
diff changeset
333 <include name="resources"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
334 <include name="src"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
335 </dirset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
336 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
337
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
338
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
339 <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
340
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
341 <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
342 <mkdir dir="${mercurial-server.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
343 <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
344 <compilerarg line="${compiler.args.mercurial-server}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
345 <bootclasspath refid="mercurial-server.module.bootclasspath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
346 <classpath refid="mercurial-server.module.classpath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
347 <src refid="mercurial-server.module.sourcepath"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
348 <patternset refid="excluded.from.compilation.mercurial-server"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
349 </javac>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
350
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
351 <copy todir="${mercurial-server.output.dir}">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
352 <fileset dir="${module.mercurial-server.basedir}/mercurial-server/resources">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
353 <patternset refid="compiler.resources"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
354 <type type="file"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
355 </fileset>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
356 <fileset dir="${module.mercurial-server.basedir}/mercurial-server/src">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
357 <patternset refid="compiler.resources"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
358 <type type="file"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
359 </fileset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
360 </copy>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
361 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
362
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
363 <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
364
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
365 <target name="clean.module.mercurial-server" description="cleanup module">
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
366 <delete dir="${mercurial-server.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
367 <delete dir="${mercurial-server.testoutput.dir}"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
368 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
369
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
370
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
371 <!-- Module mercurial-tests -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
372
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
373 <dirname property="module.mercurial-tests.basedir" file="${ant.file}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
374
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
375
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
376
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
377 <property name="compiler.args.mercurial-tests" value="${compiler.args}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
378
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
379 <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
380 <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
381
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
382 <path id="mercurial-tests.module.bootclasspath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
383 <!-- Paths to be included in compilation bootclasspath -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
384 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
385
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
386 <path id="mercurial-tests.module.classpath">
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
387 <pathelement location="${mercurial-server.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
388 <path refid="library.teamcityapi-server.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
389 <path refid="library.idea-openapi.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
390 <path refid="library.teamcity-impl.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
391 <path refid="library.log4j.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
392 <path refid="library.gnu_trove.classpath"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
393 <path refid="library.teamcityapi-common.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
394 <path refid="library.teamcity-testssupport.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
395 <path refid="library.junit.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
396 <path refid="library.testng.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
397 <path refid="library.jmock.classpath"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
398 <pathelement location="${mercurial-common.output.dir}"/>
34
0052d368c90c initial working version of agent side checkout + some tests
Pavel.Sher
parents: 28
diff changeset
399 <pathelement location="${mercurial-agent.output.dir}"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
400 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
401
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
402 <path id="mercurial-tests.runtime.module.classpath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
403 <pathelement location="${mercurial-tests.output.dir}"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
404 <pathelement location="${mercurial-server.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
405 <path refid="library.teamcityapi-server.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
406 <path refid="library.idea-openapi.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
407 <path refid="library.teamcity-impl.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
408 <path refid="library.log4j.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
409 <path refid="library.gnu_trove.classpath"/>
27
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
410 <pathelement location="${mercurial-common.output.dir}"/>
7944e8985ebd prepare modules structure for agent side checkout
Pavel.Sher
parents: 15
diff changeset
411 <path refid="library.teamcityapi-common.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
412 <path refid="library.teamcity-testssupport.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
413 <path refid="library.junit.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
414 <path refid="library.testng.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
415 <path refid="library.jmock.classpath"/>
34
0052d368c90c initial working version of agent side checkout + some tests
Pavel.Sher
parents: 28
diff changeset
416 <pathelement location="${mercurial-agent.output.dir}"/>
0052d368c90c initial working version of agent side checkout + some tests
Pavel.Sher
parents: 28
diff changeset
417 <path refid="library.teamcityapi-agent.classpath"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
418 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
419
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
420
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
421 <patternset id="excluded.from.module.mercurial-tests">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
422 <patternset refid="ignored.files"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
423 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
424
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
425 <patternset id="excluded.from.compilation.mercurial-tests">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
426 <patternset refid="excluded.from.module.mercurial-tests"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
427 </patternset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
428
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
429 <path id="mercurial-tests.module.sourcepath">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
430 <dirset dir="${module.mercurial-tests.basedir}/mercurial-tests">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
431 <include name="src"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
432 </dirset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
433 </path>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
434
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
435
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
436 <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
437
34
0052d368c90c initial working version of agent side checkout + some tests
Pavel.Sher
parents: 28
diff changeset
438 <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">
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
439 <mkdir dir="${mercurial-tests.output.dir}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
440 <javac destdir="${mercurial-tests.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
441 <compilerarg line="${compiler.args.mercurial-tests}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
442 <bootclasspath refid="mercurial-tests.module.bootclasspath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
443 <classpath refid="mercurial-tests.module.classpath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
444 <src refid="mercurial-tests.module.sourcepath"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
445 <patternset refid="excluded.from.compilation.mercurial-tests"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
446 </javac>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
447
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
448 <copy todir="${mercurial-tests.output.dir}">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
449 <fileset dir="${module.mercurial-tests.basedir}/mercurial-tests/src">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
450 <patternset refid="compiler.resources"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
451 <type type="file"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
452 </fileset>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
453 </copy>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
454 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
455
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
456 <target name="compile.module.mercurial-tests.tests" depends="compile.module.mercurial-tests.production" description="compile module mercurial-tests; test classes" unless="skip.tests"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
457
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
458 <target name="clean.module.mercurial-tests" description="cleanup module">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
459 <delete dir="${mercurial-tests.output.dir}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
460 <delete dir="${mercurial-tests.testoutput.dir}"/>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
461 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
462
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
463 <target name="init" description="Build initialization">
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
464 <!-- Perform any build initialization in this target -->
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
465 </target>
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
466
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
467 <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
468
28
a7cab5083ada libraries moved on top level, dummy implementation of agent side checkout interface
Pavel.Sher
parents: 27
diff changeset
469 <target name="all" 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"/>
5
8e6ade135483 first version of build.xml
Pavel.Sher
parents:
diff changeset
470 </project>