This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.xml
42 lines (36 loc) · 1.65 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<!-- CONFIG: change example and description to fit your project -->
<project name="grabbyhands" default="package" xmlns:ivy="antlib:org.apache.ivy.ant">
<description>A JVM Kestrel client for servers reading from large Kestrel clusters</description>
<!-- use the git revision for the tarball name, instead of the version number: -->
<property name="dist.build_integration" value="true" />
<property name="ivy.settings.file" value="${basedir}/ivy/ivysettings.xml" />
<import file="${basedir}/ant/bootstrap.xml" />
<property name="install.dir" location="/usr/local/grabbyhands" />
<target name="install" depends="package">
<mkdir dir="${install.dir}" />
<copy todir="${install.dir}">
<fileset dir="${dist.dir}" includes="**" />
</copy>
</target>
<target name="javatest" depends="compile-tests">
<java classname="org.junit.runner.JUnitCore" fork="true" failonerror="true">
<classpath>
<path refid="test.path" />
<pathelement location="${target.dir}/classes" />
<pathelement location="${target.dir}/test-classes" />
<pathelement location="${target.dir}/libs/default" />
</classpath>
<syspropertyset>
<propertyref builtin="all" />
</syspropertyset>
<jvmarg value="-Ddist.dir=${dist.dir}" />
<jvmarg value="-Djava.library.path=${dist.dir}:${dist.dir}/libs" />
<jvmarg value="-Xmx1200m" />
<jvmarg value="-ea" />
<jvmarg value="-esa" />
<jvmarg value="-Djava.util.logging.config.file=logging.properties" />
<arg value="com.twitter.grabbyhands.JavaTest" />
</java>
</target>
</project>