aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-05-05 02:10:52 +0200
committerMichael Bien <[email protected]>2010-05-05 02:10:52 +0200
commit197f3705e40f6a8c3bc35537e69eb2f15d0a0171 (patch)
tree42ddad93b40f9b24e9138ca82e2dc09e4ab9aa90 /build.xml
parent9125a275449cb533798357914945de1f742a91f9 (diff)
jocl.jnlp is now automatically generated.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index a20fdb9..8c33417 100644
--- a/build.xml
+++ b/build.xml
@@ -86,6 +86,23 @@
<target name="-post-compile" depends="c.compile.default" />
+ <target name="-post-jar">
+
+ <!-- TODO temporary codebase -->
+ <property name="jnlp.codebase" value="http://people.fh-landshut.de/~mbien/jogamp/jocl/"/>
+
+ <copy file="jocl.jnlp" tofile="${dist.jar.dir}/jocl.jnlp">
+ <filterchain>
+ <replacestring from="CODEBASE_TAG" to="${jnlp.codebase}"/>
+ </filterchain>
+ </copy>
+
+ <jar basedir="${natives.jocl.dir}/${namespace}" excludes="*.xml"
+ destfile="${dist.jar.dir}/jocl-natives-${os.and.arch}.jar"
+ manifest="${basedir}/manifest.mf" />
+
+ </target>
+
<target name="c.compile.default" depends="gluegen.cpptasks.detect.os, gluegen.cpptasks.detect.compiler, jocl.c.compile, c.rename.lib.mingw" />
<target name="jocl.c.compile" depends="c.setup.build">