summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/build.xml')
-rw-r--r--make/build.xml16
1 files changed, 15 insertions, 1 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>