aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-07-24 21:08:28 +0200
committerMichael Bien <[email protected]>2010-07-24 21:08:28 +0200
commit1d7d9d3fc80354da7bcd2af3fa1387ffa883dc2b (patch)
tree0936a2eab5b419f9fb3cb672329769742f3c994c /build.xml
parent6a1e60cec64e11460679f73ef3fce9e751d60821 (diff)
added tag.build ant target to document build dependencies.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 2b40ed3..30b7216 100644
--- a/build.xml
+++ b/build.xml
@@ -11,7 +11,9 @@
<import file="nbproject/build-impl.xml"/>
- <target name="-post-jar">
+ <target name="-post-jar" depends="tag.build,create-all-jnlps"/>
+
+ <target name="create-all-jnlps">
<!-- TODO temporary codebase -->
<property name="jnlp.codepase" value="http://people.fh-landshut.de/~mbien/jogamp/jocl"/>
@@ -33,7 +35,12 @@
<param name="jnlp.title" value="Multi Device Mandelbrot Fractal example."/>
<param name="jnlp.mainclass" value="com.jogamp.opencl.demos.fractal.MultiDeviceFractal"/>
</antcall>
+
+ </target>
+ <target name="tag.build">
+ <copy file="${jocl.root}/dist/artifact.properties" todir="${dist.jar.dir}" overwrite="true"/>
+ <echo file="${dist.jar.dir}/artifact.properties" message='jocl.demos.build.number="${build.number}"${line.separator}' append="true" />
</target>
<target name="create-jnlp">