Skip to content
This repository
Newer
Older
100644 347 lines (308 sloc) 12.634 kb
fbd0f95d »
2009-01-02 Initial import
1 <?xml version="1.0"?>
2
3 <project name="voldemort" basedir="." default="all">
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
4 <property file="build.properties" />
5
6 <property name="name" value="voldemort" />
7 <property name="display.name" value="Voldemort" />
8 <property name="author" value="Jay Kreps" />
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
762e6f8b »
2009-07-09 Add a compatibility test for json data.
18 <!-- set the build number based on environment variable, otherwise blank -->
2addb2d1 »
2009-06-23 Addded build-XX in Hudson Artificat names
19 <property environment="env" description="System environment variables (including those set by Hudson)"/>
218f0570 »
2009-06-29 Fixed unresolved ${curr.release} tags in artifacts.
20 <condition property="curr.release.snapshot" value="${curr.release}-snapshot-${env.BUILD_NUMBER}" else="${curr.release}">
a49144ef »
2009-06-26 Fixed snapshot naming issue if BUILD_NUMBER set to "".
21 <and>
22 <isset property="env.BUILD_NUMBER" />
23 <not>
24 <equals arg1="" arg2="${env.BUILD_NUMBER}" trim="yes"/>
25 </not>
26 </and>
2addb2d1 »
2009-06-23 Addded build-XX in Hudson Artificat names
27 </condition>
28
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
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>
51 </path>
52
53 <macrodef name="replace-dir">
54 <attribute name="dir" />
55 <sequential>
56 <delete dir="@{dir}" />
57 <mkdir dir="@{dir}" />
58 </sequential>
59 </macrodef>
60
2cb9de12 »
2009-04-26 Add target to build release artifacts.
61 <target name="all" depends="clean, jar, test, contrib-jar, srcjar" description="Build all artifacts." />
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
62
63 <target name="clean" description="Delete generated files.">
64 <delete dir="${dist.dir}" />
65 <replace-dir dir="${javadoc.dir}" />
66 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
67
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
68 <target name="build" description="Compile main source tree java files">
69 <replace-dir dir="${classes.dir}" />
70 <!-- copy non-java files to classes dir to load from classpath -->
71 <copy todir="${classes.dir}">
72 <fileset dir="${java.dir}">
73 <exclude name="**/*.java" />
74 <exclude name="**/*.html" />
d6283626 »
2009-04-26 Merge in changes from li-918 branch.
75 <exclude name="**/log4j.properties" />
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
76 </fileset>
77 </copy>
2d1b21b6 »
2009-04-26 Add log4j.properties to classpath for shell scripts.
78 <!-- place to put log4j.properties -->
79 <replace-dir dir="${resources.dir}"/>
80 <copy file="${java.dir}/log4j.properties" todir="${resources.dir}"/>
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
81 <javac destdir="${classes.dir}" target="1.5" debug="true" deprecation="true" failonerror="true">
82 <src path="${java.dir}" />
83 <classpath refid="main-classpath" />
84 </javac>
85 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
86
189a43da »
2009-03-07 Test ant target must copy in configs.
87 <target name="buildtest" description="Compile test classes">
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
88 <replace-dir dir="${testclasses.dir}" />
189a43da »
2009-03-07 Test ant target must copy in configs.
89 <copy todir="${testclasses.dir}">
90 <fileset dir="${commontestsrc.dir}">
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
91 <exclude name="**/*.java" />
92 <exclude name="**/*.html" />
189a43da »
2009-03-07 Test ant target must copy in configs.
93 </fileset>
94 </copy>
762e6f8b »
2009-07-09 Add a compatibility test for json data.
95 <copy todir="${testclasses.dir}">
96 <fileset dir="${unittestsrc.dir}">
97 <exclude name="**/*.java" />
98 <exclude name="**/*.html" />
99 </fileset>
100 </copy>
189a43da »
2009-03-07 Test ant target must copy in configs.
101 <javac destdir="${testclasses.dir}" target="1.5" debug="true" deprecation="true" failonerror="true">
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
102 <src path="${unittestsrc.dir}" />
103 <src path="${inttestsrc.dir}" />
104 <src path="${commontestsrc.dir}" />
105 <classpath refid="main-classpath" />
189a43da »
2009-03-07 Test ant target must copy in configs.
106 </javac>
107 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
108
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
109 <target name="test" depends="build, buildtest" description="Build test jar file">
110 <jar destfile="${dist.dir}/${name}-test-${curr.release}.jar">
111 <fileset dir="${testclasses.dir}" />
112 </jar>
113 </target>
c49df1b0 »
2009-04-27 Add support for protocol buffers based network format. Add new client…
114
115 <target name="protobuff" description="Generate source files from .proto files">
71acbce5 »
2009-09-30 Initial import of the protocol buffers based admin protocol.
116 <pathconvert property="proto.sources" pathsep=" ">
117 <path id="proto-files">
118 <fileset dir="${protobuff.dir}" />
119 </path>
120 </pathconvert>
121
c49df1b0 »
2009-04-27 Add support for protocol buffers based network format. Add new client…
122 <property name="proto.path" location="${protobuff.dir}"/>
123 <property name="javaout.path" location="${java.dir}"/>
3dba9b76 »
2009-06-05 First pass at python client. Still incomplete.
124 <property name="pythonout.path" location="${python.dir}"/>
c49df1b0 »
2009-04-27 Add support for protocol buffers based network format. Add new client…
125 <exec executable="protoc" failonerror="true">
126 <arg value="--proto_path=${proto.path}"/>
127 <arg value="--java_out=${javaout.path}"/>
3dba9b76 »
2009-06-05 First pass at python client. Still incomplete.
128 <arg value="--python_out=${pythonout.path}"/>
71acbce5 »
2009-09-30 Initial import of the protocol buffers based admin protocol.
129 <arg line="${proto.sources}"/>
c49df1b0 »
2009-04-27 Add support for protocol buffers based network format. Add new client…
130 </exec>
131 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
132
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
133 <target name="jar" depends="build" description="Build server jar file">
134 <jar destfile="${dist.dir}/${name}-${curr.release}.jar">
135 <fileset dir="${classes.dir}">
136 <include name="**/*.*" />
137 </fileset>
138 <!-- include xsds -->
139 <fileset dir="${java.dir}">
140 <include name="**/*.xsd" />
141 </fileset>
142 </jar>
143 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
144
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
145 <target name="srcjar" description="Build source jar file">
146 <mkdir dir="${dist.dir}" />
147 <jar destfile="${dist.dir}/${name}-${curr.release}-src.jar">
148 <fileset dir="${java.dir}">
149 <include name="**/*.java" />
150 </fileset>
151 </jar>
152 </target>
c49df1b0 »
2009-04-27 Add support for protocol buffers based network format. Add new client…
153
d2274da1 »
2009-05-07 Misc. read-only store improvements. Some cleanup in hadoop contrib.
154 <target name="alljar" depends="build, contrib-build" description="Build a jar file that includes all contrib code.">
155 <jar destfile="${dist.dir}/${name}-${curr.release}-all.jar">
156 <fileset dir="${classes.dir}">
157 <include name="**/*.*" />
158 </fileset>
159 <fileset dir="${contrib.classes.dir}">
160 <include name="**/*.*" />
161 </fileset>
162 <!-- include xsds -->
163 <fileset dir="${java.dir}">
164 <include name="**/*.xsd" />
165 </fileset>
166 </jar>
167 </target>
168
c49df1b0 »
2009-04-27 Add support for protocol buffers based network format. Add new client…
169 <target name="war" depends="build" description="Build server war file">
170 <war destfile="${dist.dir}/${name}.war" webxml="web.xml" basedir="${classes.dir}">
171 <classes dir="${classes.dir}"/>
172 <lib dir="${lib.dir}">
9bdc948a »
2009-06-05 Issue 113: Upgrade various dependencies
173 <exclude name="${lib.dir}/servlet-api*.jar"/>
c49df1b0 »
2009-04-27 Add support for protocol buffers based network format. Add new client…
174 <exclude name="${lib.dir}/src/**"/>
175 </lib>
176 </war>
177 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
178
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
179 <target name="contrib-build" depends="build, buildtest" description="Compile contrib packages (java and test) ">
180 <replace-dir dir="${contrib.classes.dir}" />
181 <javac destdir="${contrib.classes.dir}" target="1.5" debug="true" deprecation="true" failonerror="true">
182 <src path="${contrib.root.dir}" />
183 <src path="${contrib.root.dir}" />
184 <classpath refid="main-classpath" />
185 <classpath refid="contrib-classpath" />
186 </javac>
187 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
188
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
189 <target name="contrib-jar" depends="contrib-build" description="Build contrib jar file">
190 <jar destfile="${dist.dir}/${name}-contrib-${curr.release}.jar">
191 <fileset dir="${contrib.classes.dir}">
192 <include name="**/*.*" />
193 </fileset>
194 </jar>
195 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
196
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
197 <target name="contrib-srcjar" description="Build contrib source jar file">
198 <mkdir dir="${dist.dir}" />
199 <jar destfile="${dist.dir}/${name}-contrib-${curr.release}-src.jar">
200 <fileset dir="${contrib.root.dir}/**/java">
201 <include name="**/*.java" />
202 </fileset>
203 </jar>
204 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
205
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
206 <target name="contrib-junit" depends="contrib-jar" description="Run contrib junit tests.">
207 <replace-dir dir="${contribtestreport.dir}" />
208 <replace-dir dir="${contribtesthtml.dir}" />
209 <junit printsummary="yes" maxmemory="1024m" showoutput="true" failureProperty="test.failure">
210 <classpath refid="contrib-test-classpath" />
211 <formatter type="xml" />
212 <batchtest fork="yes" todir="${contribtestreport.dir}">
213 <fileset dir="${contrib.classes.dir}">
214 <include name="**/*Test.class" />
215 <exclude name="**/*PerformanceTest.class" />
216 </fileset>
217 </batchtest>
218 </junit>
219 <junitreport todir="${contribtesthtml.dir}">
220 <fileset dir="${contribtestreport.dir}">
221 <include name="TEST-*.xml" />
222 </fileset>
223 <report todir="${contribtesthtml.dir}" format="frames" />
224 </junitreport>
225 </target>
2cb9de12 »
2009-04-26 Add target to build release artifacts.
226
5a078881 »
2009-06-23 Modified Ant target 'release' and added new target 'snapshot'.
227
228 <macrodef name="create-release-artifacts">
229 <attribute name="version" />
230 <sequential>
231 <antcall target="all"/>
218f0570 »
2009-06-29 Fixed unresolved ${curr.release} tags in artifacts.
232 <zip destfile="${dist.dir}/${name}-@{version}.zip">
233 <zipfileset dir="." prefix="voldemort-@{version}" filemode="755" includes="bin/*"/>
234 <zipfileset dir="." prefix="voldemort-@{version}" includes="**">
2cb9de12 »
2009-04-26 Add target to build release artifacts.
235 <exclude name="${dist.dir}/*classes"/>
236 <exclude name="bin/*"/>
237 </zipfileset>
238 </zip>
218f0570 »
2009-06-29 Fixed unresolved ${curr.release} tags in artifacts.
239 <tar destfile="${dist.dir}/${name}-@{version}.tar.gz" compression="gzip" longfile="gnu">
240 <tarfileset dir="." prefix="voldemort-@{version}" filemode="755" includes="bin/*"/>
241 <tarfileset dir="." prefix="voldemort-@{version}" includes="**">
2cb9de12 »
2009-04-26 Add target to build release artifacts.
242 <exclude name="${dist.dir}/*classes"/>
243 <exclude name="${dist.dir}/*.zip"/>
244 <exclude name="bin/*"/>
245 </tarfileset>
246 </tar>
5a078881 »
2009-06-23 Modified Ant target 'release' and added new target 'snapshot'.
247 </sequential>
248 </macrodef>
249
250 <target name="snapshot" description="Create a release-snapshot zip file with everything pre-built.">
251 <create-release-artifacts version="${curr.release.snapshot}" />
252 </target>
253
254 <target name="release" description="Create a release zip file with everything pre-built.">
218f0570 »
2009-06-29 Fixed unresolved ${curr.release} tags in artifacts.
255 <create-release-artifacts version="${curr.release}" />
2cb9de12 »
2009-04-26 Add target to build release artifacts.
256 </target>
f77aff65 »
2009-05-15 Read-only store improvements: (1) Break store into chunks so that mul…
257
2a99b18c »
2009-05-24 Better docs and some cleanup for hadoop store builder.
258 <target name="hadoop-benchmark-jar" depends="build, contrib-build"
259 description="Build a jar file that includes all contrib code plus the necessary jars for running the hadoop benchmark.">
260 <jar destfile="${dist.dir}/hadoop-benchmark.jar">
f77aff65 »
2009-05-15 Read-only store improvements: (1) Break store into chunks so that mul…
261 <fileset dir="${classes.dir}">
262 <include name="**/*.*" />
263 </fileset>
264 <fileset dir="${contrib.classes.dir}">
265 <include name="**/*.*" />
266 </fileset>
267 <!-- include xsds -->
268 <fileset dir="${java.dir}">
269 <include name="**/*.xsd" />
270 </fileset>
271 <fileset dir="">
9bdc948a »
2009-06-05 Issue 113: Upgrade various dependencies
272 <include name="lib/jdom*.jar"/>
f77aff65 »
2009-05-15 Read-only store improvements: (1) Break store into chunks so that mul…
273 <include name="lib/google-collect*.jar"/>
274 <include name="lib/commons-lang*.jar"/>
275 </fileset>
276 </jar>
277 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
278
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
279 <target name="junit" depends="build, buildtest" description="Run junit tests.">
280 <replace-dir dir="${testreport.dir}" />
281 <replace-dir dir="${testhtml.dir}" />
282 <junit printsummary="yes" showoutput="true">
283 <classpath refid="test-classpath" />
284 <formatter type="xml" />
285 <batchtest fork="yes" todir="${testreport.dir}">
286 <fileset dir="${unittestsrc.dir}">
287 <include name="**/*Test.java" />
288 <exclude name="**/Abstract*.java" />
289 </fileset>
290 </batchtest>
291 </junit>
292 <junitreport todir="${testhtml.dir}">
293 <fileset dir="${testreport.dir}">
294 <include name="TEST-*.xml" />
295 </fileset>
296 <report todir="${testhtml.dir}" format="frames" />
297 </junitreport>
298 </target>
8afb67ca »
2009-03-10 Fixing failing contrib tests.
299
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
300 <target name="junit-all" depends="junit, contrib-junit" description="Run All junit tests including contrib.">
301 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
302
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
303 <macrodef name="make-javadocs">
304 <attribute name="dir" />
305 <attribute name="packagenames" />
c285d2e2 »
2009-04-26 Fix javadoc problems.
306 <attribute name="javadir" />
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
307 <sequential>
308 <replace-dir dir="@{dir}" />
c285d2e2 »
2009-04-26 Fix javadoc problems.
309 <javadoc sourcepath="@{javadir}" destdir="@{dir}" windowtitle="${display.name}" source="1.5" author="true" version="true" use="true" packagenames="@{packagenames}">
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
310 <doctitle>${display.name}</doctitle>
311 <bottom>${author}</bottom>
312 <classpath refid="main-classpath" />
313 </javadoc>
314 </sequential>
315 </macrodef>
316
317 <target name="docs" description="Create complete Javadoc documentation">
c285d2e2 »
2009-04-26 Fix javadoc problems.
318 <make-javadocs dir="${javadoc.dir}/all" packagenames="*" javadir="${java.dir}"/>
319 <make-javadocs dir="${javadoc.dir}/client" packagenames="voldemort.versioning.*, voldemort.client.*,voldemort.serialization.*" javadir="${java.dir}"/>
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
320 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
321
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
322 <target name="redeploy" depends="war, deploy">
323 </target>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
324
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
325 <taskdef file="tomcat-tasks.properties">
326 <classpath>
327 <path location="${lib.dir}/catalina-ant.jar" />
328 </classpath>
329 </taskdef>
1b788672 »
2009-02-05 ReadOnly store batch data indexer package as contrib.
330
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
331 <target name="list" description="List Tomcat applications">
332 <list url="${tomcat.manager.url}" username="${tomcat.manager.username}" password="${tomcat.manager.password}" />
333 </target>
fbd0f95d »
2009-01-02 Initial import
334
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
335 <target name="deploy" description="Deploy application" depends="war">
336 <deploy url="${tomcat.manager.url}" username="${tomcat.manager.username}" password="${tomcat.manager.password}" path="${tomcat.context}" update="true" war="file:${dist.dir}/${name}.war" />
337 </target>
fbd0f95d »
2009-01-02 Initial import
338
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
339 <target name="undeploy" description="Undeploy application">
340 <undeploy url="${tomcat.manager.url}"
fbd0f95d »
2009-01-02 Initial import
341 username="${tomcat.manager.username}"
342 password="${tomcat.manager.password}"
343 path="${tomcat.context}"/>
11ecbeb1 »
2009-03-17 Add plugin mechanism for storage engines plus MongoDB plugin.
344 </target>
fbd0f95d »
2009-01-02 Initial import
345
346 </project>
Something went wrong with that request. Please try again.