forked from beeware/voc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-java.xml
38 lines (32 loc) · 1.12 KB
/
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
30
31
32
33
34
35
36
37
38
<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
debug="true"
debuglevel="lines,vars,source"
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-${python-version}-b${release}.jar" basedir="${build}/java"/>
<symlink
link="${dist}/python-java.jar"
resource="${dist}/Python-Java-${python-version}-b${release}.jar"
overwrite="true" />
</target>
<target name="clean" description="Clean up">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>