Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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