diff options
author | gfxadmin <[email protected]> | 2006-02-16 01:34:08 +0000 |
---|---|---|
committer | gfxadmin <[email protected]> | 2006-02-16 01:34:08 +0000 |
commit | dee28910f1cf4c5c7ff4fe4500fd12acba8beadd (patch) | |
tree | a6bdbbe34910d20345b3e41704239ba56842acbd /make | |
parent | b5dd8c190c83e9b0059093eb01f60379b1bfe256 (diff) |
Issue number:
Obtained from:
Submitted by: Travis
Reviewed by:
We are modifying the versioning for non-release builds. Now the timestamp
is part of the implementation version string. For instance,
"1.0.0-pre-20060215-17:03:32" is an implementation of the 1.0.0 version
of the API built on Feb. 15, 2006, at 5:03:32 PM. This is how our daily
build version strings will look. This is how the default build works.
Our official beta builds which are known as "stable" builds will have a
version string like: "1.0.0-beta3", etc.
Our final version of 1.0.0 implementation will become the "release" build
and the version string will be: 1.0.0
There are two easy ways to obtain the version string:
1) use the jogl.verbose properties flag (-Djogl.verbose) to see it at the
command line
2) use the java.lang.Package API to query it programatically. See example
in demos called demos/misc/VersionInfo
We are removing the Version utility class because it was insufficient for
a number of reasons. It should be removed with this putback.
I am not 100% positive that this does not break the JOGLAppletLauncher class
with the change that I have putback, but I can't test it here in my
environment. And I am pretty sure it will still work, but we will test it.
Modified Files:
src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
make/joglversion make/build.xml make/joglRIversion
----------------------------------------------------------------------
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@612 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r-- | make/build.xml | 16 | ||||
-rw-r--r-- | make/joglRIversion | 4 | ||||
-rw-r--r-- | make/joglversion | 4 |
3 files changed, 19 insertions, 5 deletions
diff --git a/make/build.xml b/make/build.xml index daa12edc5..d013e4181 100644 --- a/make/build.xml +++ b/make/build.xml @@ -54,6 +54,9 @@ - the original OS detection code. --> <project name="JOGL" basedir="." default="all"> + + <!-- This is the version of JOGL you are building --> + <property name="base_version" value="1.0.0"/> <!-- Pull in GlueGen cpptasks build file --> <property name="gluegen.root" value="../../gluegen" /> @@ -901,13 +904,24 @@ <target name="cond-else-RImanifest" depends="check-RIcond" unless="RIcond-is-true"> - <jar manifest="joglversion" destfile="${jogl.jar}"> + <tstamp> + <format property="timestamp" pattern="yyyyMMdd-HH:mm:ss"/> + </tstamp> + <copy file="joglversion" + tofile="tempversion" + overwrite="true"> + <filterset> + <filter token="VERSION" value="${base_version}-pre-${timestamp}"/> + </filterset> + </copy> + <jar manifest="tempversion" destfile="${jogl.jar}"> <fileset dir="${classes}"> <include name="javax/media/opengl/**" /> <include name="com/sun/gluegen/runtime/**" /> <include name="com/sun/opengl/**" /> </fileset> </jar> + <delete file="tempversion"/> </target> diff --git a/make/joglRIversion b/make/joglRIversion index e361f4c51..8203b56b8 100644 --- a/make/joglRIversion +++ b/make/joglRIversion @@ -1,8 +1,8 @@ Specification-Title: Java Bindings for OpenGL API Specification -Specification-Version: 1.0 +Specification-Version: 1.0.0 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: Java Bindings for OpenGL Runtime Environment -Implementation-Version: 1.0 +Implementation-Version: 1.0.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 b0eaae91d..9a37794aa 100644 --- a/make/joglversion +++ b/make/joglversion @@ -1,8 +1,8 @@ Specification-Title: Java Bindings for OpenGL API Specification -Specification-Version: 1.0 Public Review plus +Specification-Version: 1.0.0 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: Java Bindings for OpenGL Runtime Environment -Implementation-Version: 1.0 Beta2 plus +Implementation-Version: @VERSION@ Implementation-Vendor: java.net JOGL community Extension-Name: javax.media.opengl Implementation-Vendor-Id: com.sun |