aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-common.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-10 06:30:27 +0100
committerSven Gothel <[email protected]>2010-11-10 06:30:27 +0100
commit4ea473a2cbf59fcbd8e82d26da389cd8c2b4a291 (patch)
tree3284f63bcc2ca7a2d826e1d72c6122adf5678f6f /make/build-common.xml
parent0e518c96ae9523eb90989ec6d59c0fbcc8d71349 (diff)
Added 'jogl.build.id' (hudson timestamp), 'jogl.build.commit' (git commit sha1) and 'jogl.build.branch' (git branch) to the JARs Manifest files, artifact.properties and deployment README.txt ; Fixed some URLs and text ; Removed the notion of RI and non RI versions, since from now on we reference a release version via: module-base-version, git sha1 and hudson build number
Diffstat (limited to 'make/build-common.xml')
-rw-r--r--make/build-common.xml50
1 files changed, 16 insertions, 34 deletions
diff --git a/make/build-common.xml b/make/build-common.xml
index 5a8da17f3..cdc0ad091 100644
--- a/make/build-common.xml
+++ b/make/build-common.xml
@@ -26,40 +26,11 @@
<import file="versions.xml" />
- <tstamp>
- <format property="version.timestamp" pattern="yyyyMMddHHmm"/>
- </tstamp>
-
- <target name="nativewindow.setup-version-RI" if="nativewindow.ri">
- <property name="nativewindow.version" value="${nativewindow_base_version}" />
- </target>
-
- <target name="nativewindow.setup-version-non-RI" unless="nativewindow.ri">
- <property name="nativewindow.version" value="${nativewindow_base_version}-pre-${version.timestamp}" />
- </target>
- <target name="jogl.setup-version-RI" if="jogl.ri">
- <property name="jogl.version" value="${jogl_base_version}" />
- </target>
-
- <target name="jogl.setup-version-non-RI" unless="jogl.ri">
- <property name="jogl.version" value="${jogl_base_version}-pre-${version.timestamp}" />
- </target>
-
- <target name="newt.setup-version-RI" if="newt.ri">
- <property name="newt.version" value="${newt_base_version}" />
- </target>
-
- <target name="newt.setup-version-non-RI" unless="newt.ri">
- <property name="newt.version" value="${newt_base_version}-pre-${version.timestamp}" />
- </target>
-
- <target name="setup-versions" depends="nativewindow.setup-version-RI, nativewindow.setup-version-non-RI, jogl.setup-version-RI, jogl.setup-version-non-RI, newt.setup-version-RI, newt.setup-version-non-RI"/>
-
<!-- ================================================================== -->
<!--
- Base initialization of properties and detection of operating system.
-->
- <target name="common.init" depends="gluegen.cpptasks.detect.os,setup-versions" unless="common.init.done">
+ <target name="common.init" depends="gluegen.cpptasks.detect.os" unless="common.init.done">
<property name="common.init.done" value="true" />
<!-- Set the project root directory to be up one directory. -->
@@ -69,9 +40,6 @@
<property name="lib" value="${build}/lib" />
<property name="jar" value="${build}/jar" />
- <property name="archive.name" value="jogl-${jogl.version}-${os.and.arch}" />
- <property name="archive" value="${build}/${archive.name}" />
-
<property name="all.srcj.path" value="${src}/nativewindow/classes;${src}/jogl/classes;${src}/newt/classes" />
<!-- No generated classes for Newt at the present time -->
<property name="all.genj.path" value="${build}/nativewindow/gensrc/classes;${build}/jogl/gensrc/classes" />
@@ -82,8 +50,22 @@
<property name="stub.includes" value="stub_includes" /> <!-- NOTE: this MUST be relative for FileSet -->
<property name="stub.includes.common" value="${stub.includes}/gluegen" />
+ <tstamp>
+ <format property="version.timestamp" pattern="yyyyMMdd"/>
+ </tstamp>
+
<property file="${build}/artifact.properties"/>
- <property name="jogl.build.number" value="manual-build"/>
+ <property name="jogl.build.number" value="manual"/>
+ <property name="jogl.build.id" value="${version.timestamp}"/>
+ <property name="jogl.build.branch" value="master"/>
+ <property name="jogl.build.commit" value="manual"/>
+
+ <property name="nativewindow.version" value="${nativewindow_base_version}-b${jogl.build.number}-${version.timestamp}" />
+ <property name="jogl.version" value="${jogl_base_version}-b${jogl.build.number}-${version.timestamp}" />
+ <property name="newt.version" value="${newt_base_version}-b${jogl.build.number}-${version.timestamp}" />
+
+ <property name="archive.name" value="jogl-${jogl.version}-${os.and.arch}" />
+ <property name="archive" value="${build}/${archive.name}" />
<condition property="setup.nodesktop">
<and>