File: build_coverage.xml

package info (click to toggle)
python-jpype 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,984 kB
  • sloc: python: 18,767; cpp: 17,931; java: 8,448; xml: 1,305; makefile: 154; sh: 35
file content (45 lines) | stat: -rw-r--r-- 1,073 bytes parent folder | download | duplicates (4)
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
43
44
45
<project default="all" name="JPype - Native">

	<!-- JAVA_VERSION must match the oldest supported Java version -->
	<property name="JAVA_VERSION" value="8" />

	<!-- src can't be "java" as it breaks nose tests -->
	<property name="src" location="java"/>
	<property name="build" location="build"/>

	<target name="test" depends="compile">
	</target>

	<target name="compile">
		<mkdir dir="${build}/classes"/>
		<mkdir dir="${build}/lib"/>
		<javac destdir="${build}/classes"
			source="${JAVA_VERSION}"
			target="${JAVA_VERSION}"
			excludes="**/JPypeClassLoader.java"
			debug="true"
			debuglevel="source,lines,vars"
			>
			<src path="${src}"/>
		</javac>
		<javac destdir="${build}/lib"
			source="${JAVA_VERSION}"
			target="${JAVA_VERSION}"
			includes="**/JPypeClassLoader.java"
			>
			<src path="${src}"/>
		</javac>
	</target>

	<target name="jar" depends="compile">
		<jar destfile="native/org.jpype.jar"
			basedir="${build}/classes" />
	</target>

	<target name="all" depends="jar" />

	<target name="clean">
		<delete dir="${build}"/>
	</target>

</project>