aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-08-18 00:08:26 +0000
committerKenneth Russel <[email protected]>2008-08-18 00:08:26 +0000
commit9e4a4af07e0a479bc136578192993939d59d273e (patch)
tree5e2add120cc45d329b9ffcf0d6edca776d1c1532
parent10032c0115f2794a254cffc2a1cd5e48ca8ff0b8 (diff)
Fixed Issue 7: Please add the version to the jar manifest
Added manifest file whose version is supplied via build.xml in similar fashion to JOGL and JOAL. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@109 a78bb65f-1512-4460-ba86-f6dc96a7bf27
-rwxr-xr-xmake/Manifest-rt3
-rwxr-xr-xmake/build.xml13
2 files changed, 15 insertions, 1 deletions
diff --git a/make/Manifest-rt b/make/Manifest-rt
new file mode 100755
index 0000000..da817d3
--- /dev/null
+++ b/make/Manifest-rt
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Implementation-Title: GlueGen Run-Time
+Implementation-Version: @BASEVERSION@
diff --git a/make/build.xml b/make/build.xml
index dd9f147..da090e5 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -10,6 +10,10 @@
- clean: clean all built
-->
<project name="GlueGen" basedir="." default="all">
+
+ <!-- This is the version of GleuGen you are building -->
+ <property name="gluegen_base_version" value="1.0b07"/>
+
<!-- On jpackage.org-compatible systems, antlr.jar can be found in /usr/share/java -->
<available property="antlr.jar" file="/usr/share/java/antlr.jar"
value="/usr/share/java/antlr.jar"/>
@@ -477,7 +481,14 @@
</jar>
<!-- Build gluegen-rt.jar. -->
- <jar destfile="${build}/gluegen-rt.jar">
+ <copy file="Manifest-rt"
+ tofile="${build}/Manifest-rt.temp"
+ overwrite="true">
+ <filterset>
+ <filter token="BASEVERSION" value="${gluegen_base_version}"/>
+ </filterset>
+ </copy>
+ <jar destfile="${build}/gluegen-rt.jar" manifest="${build}/Manifest-rt.temp">
<fileset dir="${classes}">
<include name="com/sun/gluegen/runtime/*.class" />
<include name="com/sun/gluegen/runtime/opengl/*.class" />