diff options
author | gfxadmin <[email protected]> | 2006-02-11 02:20:43 +0000 |
---|---|---|
committer | gfxadmin <[email protected]> | 2006-02-11 02:20:43 +0000 |
commit | f94cb4c86f3d136364aa722514865caa85824da3 (patch) | |
tree | ac5f062b39f27048ed58bafb3d8ec1df07420bdb | |
parent | 8ebdef6860e34bf16b9b13c657f651bf9ce32ab3 (diff) |
Issue number:
Obtained from:
Submitted by: Travis
Reviewed by:
Change the implementation for querying version information when the
property jogl.verbose is used. This now uses the java.lang.Package
API to get information from the jogl.jar manifest instead of using
com.sun.opengl.util.Version.
com.sun.util.opengl.Version API will be going away soon. It is not
rich enough to differentiate the specification version, the
implementation version, the implementation vendor, etc.
% java -Djava.library.path=/home/tbryson/temp/libs -Djogl.verbose demos.gears.Gears
JOGL specification version 1.0 Public Review plus
JOGL implementation version 1.0 Beta2 plus
JOGL implementation vendor java.net JOGL community
. . .
I added "plus" in the version/spec information for the builds starting tonight
so we will be able to differentiate between the official Beta 2 build and
all subsequent builds, etc.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@598 232f8b59-042b-4e1e-8c03-345bb8c30851
-rw-r--r-- | make/joglRIversion | 2 | ||||
-rw-r--r-- | make/joglversion | 4 | ||||
-rw-r--r-- | src/classes/com/sun/opengl/impl/Debug.java | 6 |
3 files changed, 7 insertions, 5 deletions
diff --git a/make/joglRIversion b/make/joglRIversion index 76a30ab04..e361f4c51 100644 --- a/make/joglRIversion +++ b/make/joglRIversion @@ -2,7 +2,7 @@ Specification-Title: Java Bindings for OpenGL API Specification Specification-Version: 1.0 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: Java Bindings for OpenGL Runtime Environment -Implementation-Version: 1.0 Beta2 +Implementation-Version: 1.0 Implementation-Vendor: Sun Microsystems, Inc. Extension-Name: javax.media.opengl Implementation-Vendor-Id: com.sun diff --git a/make/joglversion b/make/joglversion index cb4a8c747..b0eaae91d 100644 --- a/make/joglversion +++ b/make/joglversion @@ -1,8 +1,8 @@ Specification-Title: Java Bindings for OpenGL API Specification -Specification-Version: 1.0 +Specification-Version: 1.0 Public Review plus Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: Java Bindings for OpenGL Runtime Environment -Implementation-Version: 1.0 Beta2 +Implementation-Version: 1.0 Beta2 plus Implementation-Vendor: java.net JOGL community Extension-Name: javax.media.opengl Implementation-Vendor-Id: com.sun diff --git a/src/classes/com/sun/opengl/impl/Debug.java b/src/classes/com/sun/opengl/impl/Debug.java index a2490d1ef..9faa04fa7 100644 --- a/src/classes/com/sun/opengl/impl/Debug.java +++ b/src/classes/com/sun/opengl/impl/Debug.java @@ -40,7 +40,6 @@ package com.sun.opengl.impl; import java.security.*; -import com.sun.opengl.util.Version; /** Helper routines for logging and debugging. */ @@ -53,7 +52,10 @@ public class Debug { verbose = isPropertyDefined("jogl.verbose"); debugAll = isPropertyDefined("jogl.debug"); if (verbose) { - System.err.println("JOGL version " + Version.getVersion()); + Package p = Package.getPackage("javax.media.opengl"); + System.err.println("JOGL specification version " + p.getSpecificationVersion()); + System.err.println("JOGL implementation version " + p.getImplementationVersion()); + System.err.println("JOGL implementation vendor " + p.getImplementationVendor()); } } |