aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-newt.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-newt.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-newt.xml')
-rw-r--r--make/build-newt.xml42
1 files changed, 6 insertions, 36 deletions
diff --git a/make/build-newt.xml b/make/build-newt.xml
index d8fb0a59d..7f33f9c2a 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -468,14 +468,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}" >
@@ -578,38 +570,28 @@
<target name="build-jars" depends="gluegen.cpptasks.detect.os,build-jars-javase,build-jars-cdc" />
<target name="setup-manifestfile">
- <condition property="manifestfile" value="newtRIversion">
- <isset property="newt.ri" />
- </condition>
- <condition property="manifestfile" value="newtversion">
- <not>
- <isset property="newt.ri" />
- </not>
- </condition>
+ <property name="manifestfile" value="newtversion"/>
<copy file="${manifestfile}"
tofile="tempversion"
overwrite="true">
<filterset>
<filter token="VERSION" value="${newt.version}"/>
+ <filter token="SCM_BRANCH" value="${jogl.build.branch}"/>
+ <filter token="SCM_COMMIT" value="${jogl.build.commit}"/>
<filter token="BASEVERSION" value="${newt_base_version}"/>
</filterset>
</copy>
</target>
<target name="setup-manifestfile-cdc">
- <condition property="manifestfile" value="newtRIversion-cdc">
- <isset property="newt.ri" />
- </condition>
- <condition property="manifestfile" value="newtversion-cdc">
- <not>
- <isset property="newt.ri" />
- </not>
- </condition>
+ <property name="manifestfile" value="newtversion-cdc"/>
<copy file="${manifestfile}"
tofile="tempversion-cdc"
overwrite="true">
<filterset>
<filter token="VERSION" value="${newt.version}"/>
+ <filter token="SCM_BRANCH" value="${jogl.build.branch}"/>
+ <filter token="SCM_COMMIT" value="${jogl.build.commit}"/>
<filter token="BASEVERSION" value="${newt_base_version}"/>
</filterset>
</copy>
@@ -816,16 +798,4 @@
<echo message="${newt.version}" file="${build.newt}/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 newt.jar is versioned
- - properly
- -->
- <property name="newt.ri" value="true" />
- <antcall target="all" inheritRefs="true" />
- </target>
</project>