diff options
author | Sven Gothel <[email protected]> | 2010-11-10 06:30:27 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-10 06:30:27 +0100 |
commit | 4ea473a2cbf59fcbd8e82d26da389cd8c2b4a291 (patch) | |
tree | 3284f63bcc2ca7a2d826e1d72c6122adf5678f6f /make/build-jogl.xml | |
parent | 0e518c96ae9523eb90989ec6d59c0fbcc8d71349 (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-jogl.xml')
-rw-r--r-- | make/build-jogl.xml | 60 |
1 files changed, 10 insertions, 50 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml index 10ad52948..85a2597bb 100644 --- a/make/build-jogl.xml +++ b/make/build-jogl.xml @@ -1358,14 +1358,6 @@ exceptions="false" rtti="false"> - <!-- TODO: versioninfo companyname="java.net" - legalcopyright="Copyright" - productname="JOGL" - productversion="x.y.z" - description="Description" - fileversion="x.y.z" - filecomments="File Comment" /--> - <fileset dir="${project.root}"><patternset refid="@{c.compiler.src.files}"/></fileset> <compiler extends="@{compiler.cfg.id}" > @@ -1475,49 +1467,29 @@ --> <target name="build-jars" depends="gluegen.cpptasks.detect.os,build-jars-javase,build-jars-cdc" /> - <target name="setup-manifestfile"> - <condition property="manifestfile" value="joglRIversion"> - <isset property="jogl.ri" /> - </condition> - <condition property="manifestfile" value="joglversion"> - <not> - <isset property="jogl.ri" /> - </not> - </condition> - <tstamp> - <format property="timestamp" pattern="yyyyMMdd-HH:mm:ss"/> - </tstamp> + <target name="setup-manifestfile" depends="common.init"> + <property name="manifestfile" value="joglversion"/> <copy file="${manifestfile}" tofile="${build.jogl}/tempversion" overwrite="true"> <filterset> - <!-- This token only exists in the non-RI version of the manifest --> - <filter token="VERSION" value="${jogl_base_version}-pre-${timestamp}"/> - <!-- This token exists in both the RI and non-RI versions of the manifest --> + <filter token="VERSION" value="${jogl.version}"/> + <filter token="SCM_BRANCH" value="${jogl.build.branch}"/> + <filter token="SCM_COMMIT" value="${jogl.build.commit}"/> <filter token="BASEVERSION" value="${jogl_base_version}"/> </filterset> </copy> </target> - <target name="setup-manifestfile-cdc" unless="setup.noCDC"> - <condition property="manifestfile" value="joglRIversion-cdc"> - <isset property="jogl.ri" /> - </condition> - <condition property="manifestfile" value="joglversion-cdc"> - <not> - <isset property="jogl.ri" /> - </not> - </condition> - <tstamp> - <format property="timestamp" pattern="yyyyMMdd-HH:mm:ss"/> - </tstamp> + <target name="setup-manifestfile-cdc" unless="setup.noCDC" depends="common.init"> + <property name="manifestfile" value="joglversion-cdc"/> <copy file="${manifestfile}" tofile="${build.jogl}/tempversion-cdc" overwrite="true"> <filterset> - <!-- This token only exists in the non-RI version of the manifest --> - <filter token="VERSION" value="${jogl_base_version}-pre-${timestamp}"/> - <!-- This token exists in both the RI and non-RI versions of the manifest --> + <filter token="VERSION" value="${jogl.version}"/> + <filter token="SCM_BRANCH" value="${jogl.build.branch}"/> + <filter token="SCM_COMMIT" value="${jogl.build.commit}"/> <filter token="BASEVERSION" value="${jogl_base_version}"/> </filterset> </copy> @@ -1884,16 +1856,4 @@ <echo message="${jogl.version}" file="${build.jogl}/version.txt" /> </target> - <!-- ================================================================== --> - <!-- - - Build everything and use Sun's Implementation tag in the manifest to - - indicate this is the Reference Implementation. - --> - <target name="RI"> - <!-- Set property for using the RI manifest file so jogl.jar is versioned - - properly - --> - <property name="jogl.ri" value="true" /> - <antcall target="all" inheritRefs="true" /> - </target> </project> |