aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-04-19 00:20:35 +0000
committerKenneth Russel <[email protected]>2006-04-19 00:20:35 +0000
commitd8ac37f6b2e5ece3cb6516799c4596689f33af4b (patch)
treeb04fe839879298d73eef792eb0b2f9a73c40b4d7
parenta9a1ce66b3fe76cd5f7bfcb9aea370ef9e27be26 (diff)
Added "redist" target to build.xml to be able to use the nightly build
and just update the manifest to promote an official build. Updated joglRIversion to beta 4. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@725 232f8b59-042b-4e1e-8c03-345bb8c30851
-rw-r--r--make/build.xml29
-rw-r--r--make/joglRIversion2
2 files changed, 30 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml
index d40fb0318..48924b932 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -1282,6 +1282,35 @@
/>
</target>
+ <!-- unjar and re-jar the platform-independent jogl.jar with the official manifest -->
+ <target name="redist" depends="dist.dir.check">
+ <condition property="dist.complete">
+ <available file="${jogl.dist.dir}/jogl.jar" />
+ </condition>
+ <fail unless="dist.complete">
+ ******************************************************************
+ ** It appears the dist command did not complete; the platform- **
+ ** independent jogl.jar is missing. Please check the status of **
+ ** the dist build and try again. **
+ ******************************************************************
+ </fail>
+ <delete dir="${jogl.dist.dir}/tmp" failonerror="false" />
+ <mkdir dir="${jogl.dist.dir}/tmp" />
+ <unjar src="${jogl.dist.dir}/jogl.jar" dest="${jogl.dist.dir}/tmp" />
+ <delete dir="${jogl.dist.dir}/tmp/META-INF" />
+ <delete file="${jogl.dist.dir}/jogl.jar" />
+ <jar manifest="joglRIversion"
+ destfile="${jogl.dist.dir}/jogl.jar"
+ basedir="${jogl.dist.dir}/tmp"
+ includes="*/**" />
+ <delete dir="${jogl.dist.dir}/tmp" />
+ <!-- Apply Pack200 repacking to allow later compression by that mechanism -->
+ <apply executable="pack200" >
+ <arg value="--repack" />
+ <fileset file="${jogl.dist.dir}/jogl.jar" />
+ </apply>
+ </target>
+
<!-- ================================================================== -->
<!--
- Clean up all that is built.
diff --git a/make/joglRIversion b/make/joglRIversion
index 770d1aa5f..c79967da8 100644
--- a/make/joglRIversion
+++ b/make/joglRIversion
@@ -2,7 +2,7 @@ Specification-Title: Java Bindings for OpenGL API Specification
Specification-Version: 1.0.0
Specification-Vendor: Sun Microsystems, Inc.
Implementation-Title: Java Bindings for OpenGL Runtime Environment
-Implementation-Version: 1.0.0-beta3
+Implementation-Version: 1.0.0-beta4
Implementation-Vendor: Sun Microsystems, Inc.
Extension-Name: javax.media.opengl
Implementation-Vendor-Id: com.sun