2015-05-01 01:07:08 +00:00
|
|
|
<project>
|
2019-11-24 01:49:28 +00:00
|
|
|
<property name="ant.build.javac.source" value="1.7" />
|
|
|
|
<property name="ant.build.javac.target" value="1.7" />
|
2019-07-26 13:28:39 +00:00
|
|
|
|
2015-05-01 01:07:08 +00:00
|
|
|
<target name="clean">
|
|
|
|
<delete dir="build/classes"/>
|
|
|
|
<delete dir="build/test-classes"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="compile">
|
|
|
|
<mkdir dir="build/classes"/>
|
|
|
|
<javac srcdir="jnius/src" destdir="build/classes"
|
2020-05-02 18:41:57 +00:00
|
|
|
includeantruntime='false'
|
|
|
|
encoding="UTF-8"/>
|
2015-05-01 01:07:08 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="test-compile">
|
|
|
|
<mkdir dir="build/test-classes"/>
|
|
|
|
<javac srcdir="tests/java-src" destdir="build/test-classes"
|
2020-05-02 18:41:57 +00:00
|
|
|
includeantruntime='false'
|
|
|
|
encoding="UTF-8"/>
|
2015-05-01 01:07:08 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="jar" depends="compile">
|
|
|
|
<jar destfile="build/pyjnius.jar" basedir="build/classes">
|
|
|
|
</jar>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="all" depends="jar,test-compile"/>
|
|
|
|
</project>
|