summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-03-28 20:06:30 +0100
committerSven Gothel <[email protected]>2013-03-28 20:06:30 +0100
commita3f2ef50ad33c58a240a17fcf03e415d772207c3 (patch)
tree82f14cf60ffac5ef81845eccb10686647b804a46 /make/build.xml
parent0b3c2e5944a27e5eebc6fb82270aae3c91cebc1a (diff)
Bug 588: Adding jogamp.version property, i.e. 2.0.2-rc-<TIMESTAMP> used for Manifest ; Common jogamp_int_version for Android.
Until 2.0.2 gets released, the version string is 2.0.2-rc-<TIMESTAMP> and used in the Manifest for IMPLEMENTATION_VERSION. The previous build version name of IMPLEMENTATION_VERSION goes into the new tag IMPLEMENTATION_BUILD. Further more, we use a common jogamp_int_version for Android, to make life more easy.
Diffstat (limited to 'make/build.xml')
-rw-r--r--make/build.xml27
1 files changed, 12 insertions, 15 deletions
diff --git a/make/build.xml b/make/build.xml
index 188f518..1f46d57 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -63,10 +63,6 @@
<property name="javadoc.gluegen.path" location="${javadoc.root.path}/gluegen/javadoc" />
<property name="gluegen.lib.dir" value="${build}/obj"/>
- <tstamp>
- <format property="version.timestamp" pattern="yyyyMMdd"/>
- </tstamp>
-
<property name="gluegen.build.number" value="manual"/>
<property name="gluegen.build.id" value="${version.timestamp}"/>
<mkdir dir="${build}" />
@@ -85,11 +81,8 @@
</exec>
<property name="gluegen.build.commit" value="manual"/> <!-- fallback -->
- <!-- This is the version of GlueGen you are building xxyyzzz, xx=API yy screen-from-to zzz app-version-->
- <property name="gluegen_int_version" value="0914011"/>
<property name="gluegen_base_version" value="2.0"/>
<property name="gluegen.version" value="${gluegen_base_version}-b${gluegen.build.number}-${version.timestamp}" />
- <property name="gluegen.version.plus" value="${gluegen_base_version}-${gluegen.build.branch}-b${gluegen.build.number}-${version.timestamp}" />
<property name="stub.includes.dir" value="stub_includes" /> <!-- NOTE: this MUST be relative for FileSet -->
@@ -800,7 +793,8 @@
tofile="${build}/Manifest.temp"
overwrite="true">
<filterset>
- <filter token="VERSION" value="${gluegen.version}"/>
+ <filter token="VERSION" value="${jogamp.version}"/>
+ <filter token="BUILD_VERSION" value="${gluegen.version}"/>
<filter token="SCM_BRANCH" value="${gluegen.build.branch}"/>
<filter token="SCM_COMMIT" value="${gluegen.build.commit}"/>
<filter token="BASEVERSION" value="${gluegen_base_version}"/>
@@ -823,7 +817,8 @@
tofile="${build}/Manifest-rt.temp"
overwrite="true">
<filterset>
- <filter token="VERSION" value="${gluegen.version}"/>
+ <filter token="VERSION" value="${jogamp.version}"/>
+ <filter token="BUILD_VERSION" value="${gluegen.version}"/>
<filter token="SCM_BRANCH" value="${gluegen.build.branch}"/>
<filter token="SCM_COMMIT" value="${gluegen.build.commit}"/>
<filter token="BASEVERSION" value="${gluegen_base_version}"/>
@@ -882,7 +877,8 @@
tofile="${build}/Manifest-rt-android.temp"
overwrite="true">
<filterset>
- <filter token="VERSION" value="${gluegen.version}"/>
+ <filter token="VERSION" value="${jogamp.version}"/>
+ <filter token="BUILD_VERSION" value="${gluegen.version}"/>
<filter token="SCM_BRANCH" value="${gluegen.build.branch}"/>
<filter token="SCM_COMMIT" value="${gluegen.build.commit}"/>
<filter token="BASEVERSION" value="${gluegen_base_version}"/>
@@ -940,7 +936,8 @@
tofile="${build}/Manifest-android-launcher.temp"
overwrite="true">
<filterset>
- <filter token="VERSION" value="${gluegen.version}"/>
+ <filter token="VERSION" value="${jogamp.version}"/>
+ <filter token="BUILD_VERSION" value="${gluegen.version}"/>
<filter token="SCM_BRANCH" value="${gluegen.build.branch}"/>
<filter token="SCM_COMMIT" value="${gluegen.build.commit}"/>
<filter token="BASEVERSION" value="${gluegen_base_version}"/>
@@ -964,8 +961,8 @@
androidmanifest.path="resources/android/AndroidManifest-Launcher.xml"
androidresources.path="resources/android/res"
jarmanifest.path="${build}/Manifest-android-launcher.temp"
- version.code="${gluegen_int_version}"
- version.name="${gluegen.version.plus}"
+ version.code="${jogamp_int_version}"
+ version.name="${jogamp.version}"
/>
</target>
@@ -990,8 +987,8 @@
androidmanifest.path="resources/android/AndroidManifest-Runtime.xml"
androidresources.path="resources/android/res"
jarmanifest.path="${build}/Manifest-rt-android.temp"
- version.code="${gluegen_int_version}"
- version.name="${gluegen.version.plus}"
+ version.code="${jogamp_int_version}"
+ version.name="${jogamp.version}"
/>
</target>