From 859f5a5a1ffa5862bea678c2afe1c016058d7f09 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 22 Jan 2012 22:24:30 +0100 Subject: Fix Bug 516 (Determine Java Version) / See gluegen: 64639b805a32338385421f168e12c1ef7f749d00 --- make/build.xml | 50 ++++++++++++++++++++++++++---------- make/scripts/make.jogl.all.macosx.sh | 5 +++- make/scripts/make.jogl.all.x86_64.sh | 3 +++ 3 files changed, 44 insertions(+), 14 deletions(-) (limited to 'make') diff --git a/make/build.xml b/make/build.xml index 29930c6..5923fa6 100644 --- a/make/build.xml +++ b/make/build.xml @@ -103,7 +103,8 @@ - + + @@ -116,9 +117,14 @@ - - + @@ -135,8 +141,13 @@ - + @@ -152,8 +163,14 @@ - + @@ -204,9 +221,14 @@ - - bootclasspath="${gluegen.root}/make/lib/cdc_fp.jar"> + @@ -238,8 +260,10 @@ - + diff --git a/make/scripts/make.jogl.all.macosx.sh b/make/scripts/make.jogl.all.macosx.sh index 716e32b..d0f1475 100755 --- a/make/scripts/make.jogl.all.macosx.sh +++ b/make/scripts/make.jogl.all.macosx.sh @@ -5,6 +5,9 @@ SDIR=`dirname $0` # -Dc.compiler.debug=true # -Djogl.cg=1 \ -ant -v \ +ant \ + -Dtarget.sourcelevel=1.6 \ + -Dtarget.targetlevel=1.6 \ + -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \ -Drootrel.build=build-macosx \ $* 2>&1 | tee make.jogl.all.macosx.log diff --git a/make/scripts/make.jogl.all.x86_64.sh b/make/scripts/make.jogl.all.x86_64.sh index 110e51d..7d192b8 100755 --- a/make/scripts/make.jogl.all.x86_64.sh +++ b/make/scripts/make.jogl.all.x86_64.sh @@ -13,6 +13,9 @@ fi # -Djogl.redbook=true \ ant \ + -Dtarget.sourcelevel=1.6 \ + -Dtarget.targetlevel=1.6 \ + -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \ -Djogl.cg=1 \ -Duser.swt.jar=$SWT_CLASSPATH \ -Drootrel.build=build-x86_64 \ -- cgit v1.2.3