-
Notifications
You must be signed in to change notification settings - Fork 254
/
build.xml
35 lines (27 loc) · 941 Bytes
/
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
<project name="esri-spatial-all" default="all" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<property name="dir.build" value="build" />
<artifact:dependencies pathId="dependencies.class.path">
<dependency groupId="org.apache.hadoop" artifactId="hadoop-client" version="2.2.0"/>
</artifact:dependencies>
<path id="local.class.path">
<fileset dir="../lib">
<include name="*.jar" />
</fileset>
</path>
<target name="init">
<mkdir dir="${dir.build}" />
</target>
<target name="compile" depends="init">
<javac srcdir="src" destdir="${dir.build}" target="1.6" debug="true">
<classpath refid="dependencies.class.path"/>
<classpath refid="local.class.path"/>
</javac>
</target>
<target name="jar" depends="compile">
<jar jarfile="./json-mr-sample.jar" basedir="${dir.build}"/>
</target>
<target name="clean">
<delete dir="build" />
</target>
<target name="all" depends="jar"/>
</project>