summaryrefslogtreecommitdiffstats
path: root/make/build-nativewindow.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-nativewindow.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-nativewindow.xml')
-rw-r--r--make/build-nativewindow.xml53
1 files changed, 8 insertions, 45 deletions
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml
index 51596fdeb..2b06b1e2b 100644
--- a/make/build-nativewindow.xml
+++ b/make/build-nativewindow.xml
@@ -572,14 +572,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}" >
@@ -672,50 +664,33 @@
<target name="build-jars" depends="gluegen.cpptasks.detect.os,build-jars-javase,build-jars-cdc" />
<target name="setup-manifestfile">
- <condition property="manifestfile" value="nativewindowRIversion">
- <isset property="nativewindow.ri" />
- </condition>
- <condition property="manifestfile" value="nativewindowversion">
- <not>
- <isset property="nativewindow.ri" />
- </not>
- </condition>
- <tstamp>
- <format property="timestamp" pattern="yyyyMMdd-HH:mm:ss"/>
- </tstamp>
+ <property name="manifestfile" value="nativewindowversion"/>
<copy file="${manifestfile}"
tofile="tempversion"
overwrite="true">
<filterset>
- <filter token="VERSION" value="${nativewindow_base_version}-pre-${timestamp}"/>
+ <filter token="VERSION" value="${nativewindow.version}"/>
+ <filter token="SCM_BRANCH" value="${jogl.build.branch}"/>
+ <filter token="SCM_COMMIT" value="${jogl.build.commit}"/>
<filter token="BASEVERSION" value="${nativewindow_base_version}"/>
</filterset>
</copy>
</target>
<target name="setup-manifestfile-cdc">
- <condition property="manifestfile" value="nativewindowRIversion-cdc">
- <isset property="nativewindow.ri" />
- </condition>
- <condition property="manifestfile" value="nativewindowversion-cdc">
- <not>
- <isset property="nativewindow.ri" />
- </not>
- </condition>
- <tstamp>
- <format property="timestamp" pattern="yyyyMMdd-HH:mm:ss"/>
- </tstamp>
+ <property name="manifestfile" value="nativewindowversion-cdc"/>
<copy file="${manifestfile}"
tofile="tempversion-cdc"
overwrite="true">
<filterset>
- <filter token="VERSION" value="${nativewindow_base_version}-pre-${timestamp}"/>
+ <filter token="VERSION" value="${nativewindow.version}"/>
+ <filter token="SCM_BRANCH" value="${jogl.build.branch}"/>
+ <filter token="SCM_COMMIT" value="${jogl.build.commit}"/>
<filter token="BASEVERSION" value="${nativewindow_base_version}"/>
</filterset>
</copy>
</target>
-
<target name="build-jars-awt" depends="setup-manifestfile" unless="setup.noAWT">
<jar manifest="tempversion" destfile="${nativewindow.awt.jar}" filesonly="true">
<fileset dir="${classes}"
@@ -862,16 +837,4 @@
<echo message="${nativewindow.version}" file="${build.nativewindow}/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 nativewindow.jar is versioned
- - properly
- -->
- <property name="nativewindow.ri" value="true" />
- <antcall target="all" inheritRefs="true" />
- </target>
</project>