summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index cd1f735c..558eccf9 100644
--- a/build.xml
+++ b/build.xml
@@ -88,7 +88,7 @@
<target name="-post-compile" depends="c.compile.default" />
- <target name="-post-jar" depends="jar.natives">
+ <target name="-post-jar" depends="jar.natives,tag.build">
<!-- TODO temporary codebase -->
<property name="jnlp.codebase" value="http://people.fh-landshut.de/~mbien/jogamp/jocl/"/>
@@ -101,6 +101,11 @@
</target>
+ <target name="tag.build">
+ <copy file="${jogl.root}/build/artifact.properties" todir="${dist.jar.dir}" overwrite="true"/>
+ <echo file="${dist.jar.dir}/artifact.properties" message='jocl.build.number="${build.number}"${line.separator}' append="true" />
+ </target>
+
<target name="jar.natives" unless="c.dont.compile">
<jar basedir="${natives.jocl.dir}/${namespace}" excludes="*.xml"