Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Success

Changes

Summary

  1. Fix Bug 516 (Determine Java Version); Minor fixes (jogamp/common/** ..) (details)
  2. Add verification script for compiled-in Java version (details)
Commit 64639b805a32338385421f168e12c1ef7f749d00 by Sven Gothel
Fix Bug 516 (Determine Java Version); Minor fixes (jogamp/common/** ..)

Current minimum requirements are:
   - Java 1.6 (Level 6.0)
   - Android SDK API Level 9 (Version 2.3 Gingerbread)

Official production builds are performed w/ Java 1.6.
   - Java 1.6 (Level 6.0)
   - Android SDK API Level 9 (Version 2.3 Gingerbread)

Android supports Java language level 6.0.
Nevertheless, it cannot be guaranteed whether the Android API
supports all classes and methods of Java 1.6.
It is required for JogAmp developers to validate Android compatibility
by an Android crosscompilation build.

Current GlueGen code utilizes some minor Java 1.6 features
which could be replaced, however it's not desired at this point
since we have no mode hard Java 1.5 constraints.

Notes:
  - On OS X 10.5.8, only the 64bit version of Java6 is available
    and hence the only supported one on Leopard.

+++

Pushing determination of host (compiletime) and target (runtime) Java version
to 'jogamp-env.xml'.

jogamp-env.xml uses:
  env: SOURCE_LEVEL  -> propery: target.sourcelevel  def.: ${ant.java.version} >=1.6 (!)
  env: TARGET_LEVEL  -> propery: target.targetlevel  def.: ${ant.java.version} >=1.6 (!)
  env: TARGET_RT_JAR -> propery: target.rt.jar       def.: ${java.home}/lib/rt.jar

Either all above values are set, or none at all (default),
otherwise a build error is being thrown.

Further more we have the compiletime properties:
  host.sourcelevel  def.: ${ant.java.version} >= 1.6 (!)
  host.targetlevel  def.: ${ant.java.version} >= 1.6 (!)
  host.rt.jar       def.: ${java.home}/lib/rt.jar

+++

- 'javac.memorymax' defaults to 1024m now.
The file was modified make/scripts/make.gluegen.all.linux-x86_64.sh (diff)
The file was modified make/build-test.xml (diff)
The file was modified make/scripts/make.gluegen.all.macosx.sh (diff)
The file was modified make/build.xml (diff)
The file was modified make/jogamp-env.xml (diff)
The file was modified make/jogamp-androidtasks.xml (diff)
The file was modified make/scripts/make.gluegen.all.android-armv7-cross.sh (diff)
Commit 9df0473afdceca1403751b5f54f53c7ec86b3015 by Sven Gothel
Add verification script for compiled-in Java version
The file was addedmake/scripts/check-java-major-version.sh (diff)