forked from openstreetmap/OSM-binary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
43 lines (35 loc) · 1.02 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" ?>
<project name="osmpbf" default="all" basedir=".">
<property name="src.dir" location="src.java"/>
<property name="src.generated.dir" location="generated.java"/>
<property name="build.dir" location="build"/>
<property name="build.jar" location="osmpbf.jar"/>
<target name="init">
<mkdir dir="${src.generated.dir}"/>
<mkdir dir="${build.dir}"/>
</target>
<target name="clean">
<delete dir="${src.generated.dir}"/>
<delete dir="${build.dir}"/>
<delete file="${build.jar}"/>
</target>
<target name="build" depends="init">
<exec executable="/bin/sh">
<arg value="./build.sh"/>
</exec>
<javac destdir="${build.dir}">
<src>
<dirset dir="${src.dir}"/>
<dirset dir="${src.generated.dir}"/>
</src>
<classpath>
<fileset file="/usr/share/java/protobuf.jar"/>
</classpath>
</javac>
</target>
<target name="dist" depends="build">
<jar destfile="${build.jar}" basedir="${build.dir}"/>
</target>
<target name="all" depends="dist">
</target>
</project>