forked from beeware/voc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-java.xml
29 lines (24 loc) · 886 Bytes
/
build-java.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
<project name="python" default="dist" basedir=".">
<description>
Build Python support libraries for voc
</description>
<!-- set global properties for this build -->
<property name="src" location="python"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<target name="compile" description="Compile the Oracle-specific source">
<mkdir dir="${build}/java"/>
<javac includeantruntime="false" destdir="${build}/java">
<src path="${src}/common" />
<src path="${src}/java" />
</javac>
</target>
<target name="dist" depends="compile" description="Generate Oracle jar file">
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/python-java.jar" basedir="${build}/java"/>
</target>
<target name="clean" description="Clean up">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>