summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-01-22 23:42:55 +0100
committerSven Gothel <[email protected]>2012-01-22 23:42:55 +0100
commit86540a113a4d304a1b8ed0af6149ea938e486e7a (patch)
treec6bb6659bed6a24654f120e17dd1a2245ac401aa /build.xml
parent28a22e1007a5d5e418177e7f79b17e606d02d3b1 (diff)
Fix Bug 516 (Determine Java Version) / See gluegen: 64639b805a32338385421f168e12c1ef7f749d00v2.0-rc9v2.0-rc8v2.0-rc7v2.0-rc6
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index c17a573..3023166 100644
--- a/build.xml
+++ b/build.xml
@@ -18,6 +18,13 @@
<import file="${gluegen.root}/make/jogamp-env.xml" />
<import file="${gluegen.root}/make/jogamp-archivetasks.xml" />
+ <target name="-pre-init" depends="jogamp.env.init">
+ <property name="javac.debug" value="${javacdebug}"/>
+ <property name="javac.source" value="${target.sourcelevel}"/>
+ <property name="javac.target" value="${target.targetlevel}"/>
+ <property name="javac.compilerargs" value="-bootclasspath ${target.rt.jar} -Xlint -g:${javacdebuglevel}"/>
+ </target>
+
<target name="-pre-jar" depends="jogamp.env.init">
<tstamp>
<format property="version.timestamp" pattern="yyyyMMdd"/>