Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 467 lines (424 sloc) 17.733 kb
fbd0f95 @jkreps Initial import
jkreps authored
1 <?xml version="1.0"?>
2
3 <project name="voldemort" basedir="." default="all">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
4 <property file="build.properties" />
5
6 <property name="name" value="voldemort" />
7 <property name="display.name" value="Voldemort" />
1ce9886 @rsumbaly Java doc changes
rsumbaly authored
8 <property name="author" value="Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao" />
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
9 <property environment="env" />
10
11 <path id="main-classpath">
12 <fileset dir="${lib.dir}">
13 <include name="*.jar" />
14 </fileset>
15 <pathelement path="${classes.dir}" />
16 </path>
17
762e6f8 @jkreps Add a compatibility test for json data.
jkreps authored
18 <!-- set the build number based on environment variable, otherwise blank -->
2addb2d @bbansal Addded build-XX in Hudson Artificat names
bbansal authored
19 <property environment="env" description="System environment variables (including those set by Hudson)"/>
218f057 @bbansal Fixed unresolved ${curr.release} tags in artifacts.
bbansal authored
20 <condition property="curr.release.snapshot" value="${curr.release}-snapshot-${env.BUILD_NUMBER}" else="${curr.release}">
a49144e @bbansal Fixed snapshot naming issue if BUILD_NUMBER set to "".
bbansal authored
21 <and>
22 <isset property="env.BUILD_NUMBER" />
23 <not>
24 <equals arg1="" arg2="${env.BUILD_NUMBER}" trim="yes"/>
2100b20 cleanup python client and add JSON serialization support to it
Jonathan Traupman authored
25 </not>
a49144e @bbansal Fixed snapshot naming issue if BUILD_NUMBER set to "".
bbansal authored
26 </and>
2addb2d @bbansal Addded build-XX in Hudson Artificat names
bbansal authored
27 </condition>
28
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
29 <path id="contrib-classpath">
3886bb1 @pbailis Include log4j resources.dir in all tests via build.xml
pbailis authored
30 <pathelement path="${resources.dir}" />
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
31 <fileset dir="${dist.dir}">
32 <include name="${name}-${curr.release}.jar" />
33 </fileset>
34 <fileset dir="${contrib.root.dir}">
35 <include name="**/*.jar" />
36 </fileset>
37 <path refid="test-classpath" />
38 </path>
39
40 <path id="test-classpath">
3886bb1 @pbailis Include log4j resources.dir in all tests via build.xml
pbailis authored
41 <pathelement path="${resources.dir}" />
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
42 <pathelement path="${env.VOLD_TEST_JARS}" />
43 <path refid="main-classpath" />
44 <pathelement path="${testclasses.dir}" />
45 </path>
46
47 <path id="contrib-test-classpath">
48 <path refid="main-classpath" />
49 <path refid="contrib-classpath" />
50 <fileset dir="${dist.dir}">
51 <include name="${name}-contrib-${curr.release}.jar" />
52 </fileset>
d6be7c9 @kirktrue Work to add JUnit test target for EC2, catch the error 143 exit code (ht...
kirktrue authored
53 <pathelement path="${testclasses.dir}" />
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
54 </path>
55
56 <macrodef name="replace-dir">
57 <attribute name="dir" />
58 <sequential>
59 <delete dir="@{dir}" />
60 <mkdir dir="@{dir}" />
61 </sequential>
62 </macrodef>
63
2cb9de1 @jkreps Add target to build release artifacts.
jkreps authored
64 <target name="all" depends="clean, jar, test, contrib-jar, srcjar" description="Build all artifacts." />
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
65
66 <target name="clean" description="Delete generated files.">
67 <delete dir="${dist.dir}" />
68 <replace-dir dir="${javadoc.dir}" />
69 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
70
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
71 <target name="build" description="Compile main source tree java files">
72 <replace-dir dir="${classes.dir}" />
73 <!-- copy non-java files to classes dir to load from classpath -->
74 <copy todir="${classes.dir}">
75 <fileset dir="${java.dir}">
76 <exclude name="**/*.java" />
77 <exclude name="**/*.html" />
d628362 @jkreps Merge in changes from li-918 branch.
jkreps authored
78 <exclude name="**/log4j.properties" />
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
79 </fileset>
80 </copy>
2d1b21b @jkreps Add log4j.properties to classpath for shell scripts.
jkreps authored
81 <!-- place to put log4j.properties -->
82 <replace-dir dir="${resources.dir}"/>
83 <copy file="${java.dir}/log4j.properties" todir="${resources.dir}"/>
00fccf6 @mebigfatguy don't include ant runtimes when compiling, which quells warnings in ant ...
mebigfatguy authored
84 <javac destdir="${classes.dir}" target="1.5" debug="true" deprecation="false" failonerror="true" includeantruntime="false">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
85 <src path="${java.dir}" />
86 <classpath refid="main-classpath" />
87 </javac>
88 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
89
189a43d @jkreps Test ant target must copy in configs.
jkreps authored
90 <target name="buildtest" description="Compile test classes">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
91 <replace-dir dir="${testclasses.dir}" />
189a43d @jkreps Test ant target must copy in configs.
jkreps authored
92 <copy todir="${testclasses.dir}">
93 <fileset dir="${commontestsrc.dir}">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
94 <exclude name="**/*.java" />
95 <exclude name="**/*.html" />
189a43d @jkreps Test ant target must copy in configs.
jkreps authored
96 </fileset>
97 </copy>
762e6f8 @jkreps Add a compatibility test for json data.
jkreps authored
98 <copy todir="${testclasses.dir}">
99 <fileset dir="${unittestsrc.dir}">
100 <exclude name="**/*.java" />
101 <exclude name="**/*.html" />
102 </fileset>
103 </copy>
00fccf6 @mebigfatguy don't include ant runtimes when compiling, which quells warnings in ant ...
mebigfatguy authored
104 <javac destdir="${testclasses.dir}" target="1.5" debug="true" deprecation="false" failonerror="true" includeantruntime="false">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
105 <src path="${unittestsrc.dir}" />
106 <src path="${inttestsrc.dir}" />
107 <src path="${commontestsrc.dir}" />
b81f2a9 @zhongjiewu renamed large as long to make files consistent
zhongjiewu authored
108 <src path="${longtestsrc.dir}" />
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
109 <classpath refid="main-classpath" />
189a43d @jkreps Test ant target must copy in configs.
jkreps authored
110 </javac>
111 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
112
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
113 <target name="test" depends="build, buildtest" description="Build test jar file">
114 <jar destfile="${dist.dir}/${name}-test-${curr.release}.jar">
115 <fileset dir="${testclasses.dir}" />
116 </jar>
117 </target>
2100b20 cleanup python client and add JSON serialization support to it
Jonathan Traupman authored
118
c49df1b @jkreps Add support for protocol buffers based network format. Add new client co...
jkreps authored
119 <target name="protobuff" description="Generate source files from .proto files">
71acbce Initial import of the protocol buffers based admin protocol.
Alex Feinberg authored
120 <pathconvert property="proto.sources" pathsep=" ">
121 <path id="proto-files">
122 <fileset dir="${protobuff.dir}" />
123 </path>
124 </pathconvert>
125
2100b20 cleanup python client and add JSON serialization support to it
Jonathan Traupman authored
126 <property name="proto.path" location="${protobuff.dir}"/>
c49df1b @jkreps Add support for protocol buffers based network format. Add new client co...
jkreps authored
127 <property name="javaout.path" location="${java.dir}"/>
2100b20 cleanup python client and add JSON serialization support to it
Jonathan Traupman authored
128 <property name="pythonout.path" location="${python.proto.dir}"/>
c49df1b @jkreps Add support for protocol buffers based network format. Add new client co...
jkreps authored
129 <exec executable="protoc" failonerror="true">
130 <arg value="--proto_path=${proto.path}"/>
131 <arg value="--java_out=${javaout.path}"/>
3dba9b7 First pass at python client. Still incomplete.
Jay Kreps authored
132 <arg value="--python_out=${pythonout.path}"/>
71acbce Initial import of the protocol buffers based admin protocol.
Alex Feinberg authored
133 <arg line="${proto.sources}"/>
c49df1b @jkreps Add support for protocol buffers based network format. Add new client co...
jkreps authored
134 </exec>
135 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
136
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
137 <target name="jar" depends="build" description="Build server jar file">
138 <jar destfile="${dist.dir}/${name}-${curr.release}.jar">
139 <fileset dir="${classes.dir}">
140 <include name="**/*.*" />
141 </fileset>
142 <!-- include xsds -->
143 <fileset dir="${java.dir}">
144 <include name="**/*.xsd" />
145 </fileset>
146 </jar>
147 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
148
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
149 <target name="srcjar" description="Build source jar file">
150 <mkdir dir="${dist.dir}" />
151 <jar destfile="${dist.dir}/${name}-${curr.release}-src.jar">
152 <fileset dir="${java.dir}">
153 <include name="**/*.java" />
154 </fileset>
155 </jar>
156 </target>
2100b20 cleanup python client and add JSON serialization support to it
Jonathan Traupman authored
157
d2274da @jkreps Misc. read-only store improvements. Some cleanup in hadoop contrib.
jkreps authored
158 <target name="alljar" depends="build, contrib-build" description="Build a jar file that includes all contrib code.">
159 <jar destfile="${dist.dir}/${name}-${curr.release}-all.jar">
160 <fileset dir="${classes.dir}">
161 <include name="**/*.*" />
162 </fileset>
163 <fileset dir="${contrib.classes.dir}">
164 <include name="**/*.*" />
165 </fileset>
166 <!-- include xsds -->
167 <fileset dir="${java.dir}">
168 <include name="**/*.xsd" />
169 </fileset>
170 </jar>
171 </target>
2100b20 cleanup python client and add JSON serialization support to it
Jonathan Traupman authored
172
c49df1b @jkreps Add support for protocol buffers based network format. Add new client co...
jkreps authored
173 <target name="war" depends="build" description="Build server war file">
174 <war destfile="${dist.dir}/${name}.war" webxml="web.xml" basedir="${classes.dir}">
175 <classes dir="${classes.dir}"/>
176 <lib dir="${lib.dir}">
9bdc948 @ijuma Issue 113: Upgrade various dependencies
ijuma authored
177 <exclude name="${lib.dir}/servlet-api*.jar"/>
c49df1b @jkreps Add support for protocol buffers based network format. Add new client co...
jkreps authored
178 <exclude name="${lib.dir}/src/**"/>
179 </lib>
180 </war>
181 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
182
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
183 <target name="contrib-build" depends="build, buildtest" description="Compile contrib packages (java and test) ">
184 <replace-dir dir="${contrib.classes.dir}" />
00fccf6 @mebigfatguy don't include ant runtimes when compiling, which quells warnings in ant ...
mebigfatguy authored
185 <javac destdir="${contrib.classes.dir}" target="1.5" debug="true" deprecation="false" failonerror="true" includeantruntime="false">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
186 <src path="${contrib.root.dir}" />
187 <src path="${contrib.root.dir}" />
188 <classpath refid="main-classpath" />
189 <classpath refid="contrib-classpath" />
190 </javac>
52cc393 @kirktrue Fixed build problem.
kirktrue authored
191 <copy todir="${contrib.classes.dir}">
192 <fileset dir="${contrib.root.dir}/ec2-testing/resources" />
193 </copy>
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
194 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
195
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
196 <target name="contrib-jar" depends="contrib-build" description="Build contrib jar file">
197 <jar destfile="${dist.dir}/${name}-contrib-${curr.release}.jar">
198 <fileset dir="${contrib.classes.dir}">
199 <include name="**/*.*" />
200 </fileset>
201 </jar>
202 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
203
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
204 <target name="contrib-srcjar" description="Build contrib source jar file">
205 <mkdir dir="${dist.dir}" />
206 <jar destfile="${dist.dir}/${name}-contrib-${curr.release}-src.jar">
207 <fileset dir="${contrib.root.dir}/**/java">
208 <include name="**/*.java" />
209 </fileset>
210 </jar>
211 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
212
87c0d9c @rsumbaly Removed Krati from Contrib Unit tests since it requires more heap space
rsumbaly authored
213 <target name="contrib-junit" depends="contrib-jar" description="Run contrib junit tests except EC2 and Krati tests.">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
214 <replace-dir dir="${contribtestreport.dir}" />
215 <replace-dir dir="${contribtesthtml.dir}" />
216 <junit printsummary="yes" maxmemory="1024m" showoutput="true" failureProperty="test.failure">
217 <classpath refid="contrib-test-classpath" />
218 <formatter type="xml" />
219 <batchtest fork="yes" todir="${contribtestreport.dir}">
220 <fileset dir="${contrib.classes.dir}">
221 <include name="**/*Test.class" />
222 <exclude name="**/*PerformanceTest.class" />
d6be7c9 @kirktrue Work to add JUnit test target for EC2, catch the error 143 exit code (ht...
kirktrue authored
223 <exclude name="**/*RemoteTest.class" />
224 <exclude name="**/Ec2*Test.class" />
87c0d9c @rsumbaly Removed Krati from Contrib Unit tests since it requires more heap space
rsumbaly authored
225 <exclude name="**/Krati*Test.class" />
d6be7c9 @kirktrue Work to add JUnit test target for EC2, catch the error 143 exit code (ht...
kirktrue authored
226 </fileset>
227 </batchtest>
228 </junit>
229 <junitreport todir="${contribtesthtml.dir}">
230 <fileset dir="${contribtestreport.dir}">
231 <include name="TEST-*.xml" />
232 </fileset>
233 <report todir="${contribtesthtml.dir}" format="frames" />
234 </junitreport>
235 </target>
236
18ee7b8 @rsumbaly EC2 testing ant target needs to depend on 'all'
rsumbaly authored
237 <target name="ec2testing-junit" depends="all" description="Run EC2 testing contrib junit tests.">
d6be7c9 @kirktrue Work to add JUnit test target for EC2, catch the error 143 exit code (ht...
kirktrue authored
238 <copy todir="${testclasses.dir}">
239 <fileset dir="${contrib.root.dir}/ec2-testing/resources" />
240 </copy>
241 <replace-dir dir="${contribtestreport.dir}" />
242 <replace-dir dir="${contribtesthtml.dir}" />
243 <junit printsummary="yes" maxmemory="1024m" showoutput="true" failureProperty="test.failure">
244 <syspropertyset>
245 <propertyref prefix="ec2" />
246 </syspropertyset>
247 <classpath refid="contrib-test-classpath" />
248 <formatter type="xml" />
249 <batchtest fork="yes" todir="${contribtestreport.dir}">
250 <fileset dir="${contrib.classes.dir}">
c87f2e4 @rsumbaly Modified build.xml ec2 target to run only Smoke Tests since tests have t...
rsumbaly authored
251 <include name="**/Ec2SmokeTest.class" />
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
252 </fileset>
253 </batchtest>
254 </junit>
255 <junitreport todir="${contribtesthtml.dir}">
256 <fileset dir="${contribtestreport.dir}">
257 <include name="TEST-*.xml" />
258 </fileset>
259 <report todir="${contribtesthtml.dir}" format="frames" />
260 </junitreport>
261 </target>
77b906f @afeinberg Additional work on ec2 testing to work for gossip.
afeinberg authored
262
6fcacee @afeinberg Consistent naming and indentation for ec2 targets
afeinberg authored
263 <target name="ec2testing-gossip" depends="contrib-jar" description="Run gossip tests on EC2.">
264 <copy todir="${testclasses.dir}">
265 <fileset dir="${contrib.root.dir}/ec2-testing/resources" />
266 </copy>
267 <replace-dir dir="${contribtestreport.dir}" />
268 <replace-dir dir="${contribtesthtml.dir}" />
269 <junit printsummary="yes" maxmemory="2048m" showoutput="true" failureProperty="test.failure">
270 <syspropertyset>
271 <propertyref prefix="ec2" />
272 <propertyref prefix="log4j" />
273 <propertyref prefix="gossip" />
274 </syspropertyset>
275 <classpath refid="contrib-test-classpath" />
276 <formatter type="xml" />
277 <batchtest fork="yes" todir="${contribtestreport.dir}">
278 <fileset dir="${contrib.classes.dir}">
279 <include name="**/Ec2GossipTest.class" />
280 </fileset>
281 </batchtest>
282 </junit>
283 <junitreport todir="${contribtesthtml.dir}">
284 <fileset dir="${contribtestreport.dir}">
285 <include name="TEST-*.xml" />
286 </fileset>
287 <report todir="${contribtesthtml.dir}" format="frames" />
288 </junitreport>
289 </target>
77b906f @afeinberg Additional work on ec2 testing to work for gossip.
afeinberg authored
290
6fcacee @afeinberg Consistent naming and indentation for ec2 targets
afeinberg authored
291 <target name="ec2testing-rebalancing" depends="contrib-jar" description="Run rebalancing tests on EC2.">
292 <copy todir="${testclasses.dir}">
293 <fileset dir="${contrib.root.dir}/ec2-testing/resources" />
294 </copy>
295 <replace-dir dir="${contribtestreport.dir}" />
296 <replace-dir dir="${contribtesthtml.dir}" />
297 <junit printsummary="yes" maxmemory="2048m" showoutput="true" failureProperty="test.failure">
298 <syspropertyset>
299 <propertyref prefix="ec2" />
300 <propertyref prefix="log4j" />
301 <propertyref prefix="rebalancing" />
302 </syspropertyset>
303 <classpath refid="contrib-test-classpath" />
304 <formatter type="xml" />
305 <batchtest fork="yes" todir="${contribtestreport.dir}">
306 <fileset dir="${contrib.classes.dir}">
307 <include name="**/Ec2RebalancingTest.class" />
308 </fileset>
309 </batchtest>
310 </junit>
311 <junitreport todir="${contribtesthtml.dir}">
312 <fileset dir="${contribtestreport.dir}">
313 <include name="TEST-*.xml" />
314 </fileset>
315 <report todir="${contribtesthtml.dir}" format="frames" />
316 </junitreport>
317 </target>
2100b20 cleanup python client and add JSON serialization support to it
Jonathan Traupman authored
318
5a07888 @bbansal Modified Ant target 'release' and added new target 'snapshot'.
bbansal authored
319 <macrodef name="create-release-artifacts">
320 <attribute name="version" />
321 <sequential>
322 <antcall target="all"/>
218f057 @bbansal Fixed unresolved ${curr.release} tags in artifacts.
bbansal authored
323 <zip destfile="${dist.dir}/${name}-@{version}.zip">
324 <zipfileset dir="." prefix="voldemort-@{version}" filemode="755" includes="bin/*"/>
325 <zipfileset dir="." prefix="voldemort-@{version}" includes="**">
2cb9de1 @jkreps Add target to build release artifacts.
jkreps authored
326 <exclude name="${dist.dir}/*classes"/>
327 <exclude name="bin/*"/>
3c3b935 @afeinberg Modified build.xml to exclude the .git directory from the tarball.
afeinberg authored
328 <exclude name=".git*/**"/>
2cb9de1 @jkreps Add target to build release artifacts.
jkreps authored
329 </zipfileset>
330 </zip>
218f057 @bbansal Fixed unresolved ${curr.release} tags in artifacts.
bbansal authored
331 <tar destfile="${dist.dir}/${name}-@{version}.tar.gz" compression="gzip" longfile="gnu">
332 <tarfileset dir="." prefix="voldemort-@{version}" filemode="755" includes="bin/*"/>
333 <tarfileset dir="." prefix="voldemort-@{version}" includes="**">
2cb9de1 @jkreps Add target to build release artifacts.
jkreps authored
334 <exclude name="${dist.dir}/*classes"/>
335 <exclude name="${dist.dir}/*.zip"/>
336 <exclude name="bin/*"/>
3c3b935 @afeinberg Modified build.xml to exclude the .git directory from the tarball.
afeinberg authored
337 <exclude name=".git*/**"/>
2cb9de1 @jkreps Add target to build release artifacts.
jkreps authored
338 </tarfileset>
339 </tar>
5a07888 @bbansal Modified Ant target 'release' and added new target 'snapshot'.
bbansal authored
340 </sequential>
341 </macrodef>
342
343 <target name="snapshot" description="Create a release-snapshot zip file with everything pre-built.">
344 <create-release-artifacts version="${curr.release.snapshot}" />
345 </target>
2100b20 cleanup python client and add JSON serialization support to it
Jonathan Traupman authored
346
5a07888 @bbansal Modified Ant target 'release' and added new target 'snapshot'.
bbansal authored
347 <target name="release" description="Create a release zip file with everything pre-built.">
218f057 @bbansal Fixed unresolved ${curr.release} tags in artifacts.
bbansal authored
348 <create-release-artifacts version="${curr.release}" />
2cb9de1 @jkreps Add target to build release artifacts.
jkreps authored
349 </target>
2100b20 cleanup python client and add JSON serialization support to it
Jonathan Traupman authored
350
351 <target name="hadoop-benchmark-jar" depends="build, contrib-build"
2a99b18 @jkreps Better docs and some cleanup for hadoop store builder.
jkreps authored
352 description="Build a jar file that includes all contrib code plus the necessary jars for running the hadoop benchmark.">
353 <jar destfile="${dist.dir}/hadoop-benchmark.jar">
f77aff6 @jkreps Read-only store improvements: (1) Break store into chunks so that multip...
jkreps authored
354 <fileset dir="${classes.dir}">
355 <include name="**/*.*" />
356 </fileset>
357 <fileset dir="${contrib.classes.dir}">
358 <include name="**/*.*" />
359 </fileset>
360 <!-- include xsds -->
361 <fileset dir="${java.dir}">
362 <include name="**/*.xsd" />
363 </fileset>
364 <fileset dir="">
9bdc948 @ijuma Issue 113: Upgrade various dependencies
ijuma authored
365 <include name="lib/jdom*.jar"/>
f77aff6 @jkreps Read-only store improvements: (1) Break store into chunks so that multip...
jkreps authored
366 <include name="lib/google-collect*.jar"/>
367 <include name="lib/commons-lang*.jar"/>
368 </fileset>
369 </jar>
370 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
371
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
372 <target name="junit" depends="build, buildtest" description="Run junit tests.">
373 <replace-dir dir="${testreport.dir}" />
374 <replace-dir dir="${testhtml.dir}" />
ce3d234 @bbansal unit test fixes.
bbansal authored
375 <junit printsummary="yes" showoutput="true" maxmemory="1024m">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
376 <classpath refid="test-classpath" />
377 <formatter type="xml" />
378 <batchtest fork="yes" todir="${testreport.dir}">
379 <fileset dir="${unittestsrc.dir}">
380 <include name="**/*Test.java" />
381 <exclude name="**/Abstract*.java" />
382 </fileset>
383 </batchtest>
384 </junit>
385 <junitreport todir="${testhtml.dir}">
386 <fileset dir="${testreport.dir}">
387 <include name="TEST-*.xml" />
388 </fileset>
389 <report todir="${testhtml.dir}" format="frames" />
390 </junitreport>
391 </target>
c3c20e5 @rsumbaly Adding junit-test target to build.xml - This allows you to run individua...
rsumbaly authored
392
a3965e7 @zhongjiewu Modified the test and build file to shrink the large tests.
zhongjiewu authored
393 <target name="junit-long" depends="build, buildtest, junit" description="Run long junit tests that uses larger data sets than normal junit tests.">
8b0a7c2 @zhongjiewu distinguish test report locations between normal tests and long tests
zhongjiewu authored
394 <replace-dir dir="${longtestreport.dir}" />
395 <replace-dir dir="${longtesthtml.dir}" />
a3965e7 @zhongjiewu Modified the test and build file to shrink the large tests.
zhongjiewu authored
396 <junit printsummary="yes" showoutput="true" maxmemory="1024m">
397 <classpath refid="test-classpath" />
398 <formatter type="xml" />
8b0a7c2 @zhongjiewu distinguish test report locations between normal tests and long tests
zhongjiewu authored
399 <batchtest fork="yes" todir="${longtestreport.dir}">
b81f2a9 @zhongjiewu renamed large as long to make files consistent
zhongjiewu authored
400 <fileset dir="${longtestsrc.dir}">
a3965e7 @zhongjiewu Modified the test and build file to shrink the large tests.
zhongjiewu authored
401 <include name="**/*Test.java" />
402 </fileset>
403 </batchtest>
404 </junit>
8b0a7c2 @zhongjiewu distinguish test report locations between normal tests and long tests
zhongjiewu authored
405 <junitreport todir="${longtesthtml.dir}">
406 <fileset dir="${longtestreport.dir}">
a3965e7 @zhongjiewu Modified the test and build file to shrink the large tests.
zhongjiewu authored
407 <include name="TEST-*.xml" />
408 </fileset>
8b0a7c2 @zhongjiewu distinguish test report locations between normal tests and long tests
zhongjiewu authored
409 <report todir="${longtesthtml.dir}" format="frames" />
a3965e7 @zhongjiewu Modified the test and build file to shrink the large tests.
zhongjiewu authored
410 </junitreport>
411 </target>
412
c3c20e5 @rsumbaly Adding junit-test target to build.xml - This allows you to run individua...
rsumbaly authored
413 <target name="junit-test" depends="build, buildtest, contrib-jar" description="Run single junit test with -Dtest.name=">
414 <junit printsummary="yes" showoutput="true" maxmemory="1024m">
415 <classpath refid="contrib-test-classpath" />
416 <test name="${test.name}" />
417 </junit>
418 </target>
8afb67c @bbansal Fixing failing contrib tests.
bbansal authored
419
a3965e7 @zhongjiewu Modified the test and build file to shrink the large tests.
zhongjiewu authored
420 <target name="junit-all" depends="junit-long, contrib-junit" description="Run All junit tests including contrib.">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
421 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
422
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
423 <macrodef name="make-javadocs">
424 <attribute name="dir" />
425 <attribute name="packagenames" />
c285d2e @jkreps Fix javadoc problems.
jkreps authored
426 <attribute name="javadir" />
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
427 <sequential>
428 <replace-dir dir="@{dir}" />
c285d2e @jkreps Fix javadoc problems.
jkreps authored
429 <javadoc sourcepath="@{javadir}" destdir="@{dir}" windowtitle="${display.name}" source="1.5" author="true" version="true" use="true" packagenames="@{packagenames}">
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
430 <doctitle>${display.name}</doctitle>
431 <bottom>${author}</bottom>
432 <classpath refid="main-classpath" />
433 </javadoc>
434 </sequential>
435 </macrodef>
436
437 <target name="docs" description="Create complete Javadoc documentation">
c285d2e @jkreps Fix javadoc problems.
jkreps authored
438 <make-javadocs dir="${javadoc.dir}/all" packagenames="*" javadir="${java.dir}"/>
439 <make-javadocs dir="${javadoc.dir}/client" packagenames="voldemort.versioning.*, voldemort.client.*,voldemort.serialization.*" javadir="${java.dir}"/>
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
440 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
441
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
442 <target name="redeploy" depends="war, deploy">
443 </target>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
444
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
445 <taskdef file="tomcat-tasks.properties">
446 <classpath>
447 <path location="${lib.dir}/catalina-ant.jar" />
448 </classpath>
449 </taskdef>
1b78867 @bbansal ReadOnly store batch data indexer package as contrib.
bbansal authored
450
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
451 <target name="list" description="List Tomcat applications">
452 <list url="${tomcat.manager.url}" username="${tomcat.manager.username}" password="${tomcat.manager.password}" />
453 </target>
fbd0f95 @jkreps Initial import
jkreps authored
454
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
455 <target name="deploy" description="Deploy application" depends="war">
456 <deploy url="${tomcat.manager.url}" username="${tomcat.manager.username}" password="${tomcat.manager.password}" path="${tomcat.context}" update="true" war="file:${dist.dir}/${name}.war" />
457 </target>
fbd0f95 @jkreps Initial import
jkreps authored
458
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
459 <target name="undeploy" description="Undeploy application">
460 <undeploy url="${tomcat.manager.url}"
fbd0f95 @jkreps Initial import
jkreps authored
461 username="${tomcat.manager.username}"
462 password="${tomcat.manager.password}"
463 path="${tomcat.context}"/>
11ecbeb @jkreps Add plugin mechanism for storage engines plus MongoDB plugin.
jkreps authored
464 </target>
fbd0f95 @jkreps Initial import
jkreps authored
465
466 </project>
Something went wrong with that request. Please try again.