aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-07-24 21:04:11 +0200
committerMichael Bien <[email protected]>2010-07-24 21:04:11 +0200
commit4ac8978a53f0578e3a631ca1290373c9ffef8fb5 (patch)
tree397c71896965c4c9aa0e25def6f8bfcbf2412983 /build.xml
parenta3b7993646909acd3d54c609f0060bc36a73ddc2 (diff)
added tag.build ant target to document build dependencies.
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"