Jogamp
added readme.
[jocl-demos.git] / build.xml
CommitLineData
84cc0fdd 1<?xml version="1.0" encoding="UTF-8"?>
c8226163 2
84cc0fdd
MB
3<project name="jocl-demos" default="default" basedir=".">
4 <description>Builds, tests, and runs the project jocl-demos.</description>
abb81ea5
SG
5
6 <condition property="rootrel.build" value="build">
7 <not>
8 <isset property="rootrel.build"/>
9 </not>
10 </condition>
11
84cc0fdd 12 <import file="nbproject/build-impl.xml"/>
abb81ea5 13
c8226163
MB
14 <target name="-post-jar">
15
16 <!-- TODO temporary codebase -->
17 <property name="jnlp.codepase" value="http://people.fh-landshut.de/~mbien/jogamp/jocl"/>
18
19 <antcall target="create-jnlp" inheritrefs="true">
20 <param name="jnlp.name" value="glclinterop"/>
21 <param name="jnlp.title" value="JOGL - JOCL interoperability example."/>
22 <param name="jnlp.mainclass" value="com.jogamp.opencl.demos.joglinterop.GLCLInteroperabilityDemo"/>
23 </antcall>
24
25 <antcall target="create-jnlp" inheritrefs="true">
26 <param name="jnlp.name" value="julia3d"/>
27 <param name="jnlp.title" value="3D Jula Set Fractal demo."/>
28 <param name="jnlp.mainclass" value="com.jogamp.opencl.demos.julia3d.Julia3d"/>
29 </antcall>
30
31 <antcall target="create-jnlp" inheritrefs="true">
32 <param name="jnlp.name" value="multidevicefractal"/>
33 <param name="jnlp.title" value="Multi Device Mandelbrot Fractal example."/>
34 <param name="jnlp.mainclass" value="com.jogamp.opencl.demos.fractal.MultiDeviceFractal"/>
35 </antcall>
36
37 </target>
38
39 <target name="create-jnlp">
40 <copy file="demo-template.jnlp" tofile="${dist.jar.dir}/${jnlp.name}.jnlp">
41 <filterchain>
42 <replacestring from="DEMO_TITLE" to="${jnlp.title}"/>
43 <replacestring from="NAME_TAG" to="${jnlp.name}"/>
44 <replacestring from="CLASS_TAG" to="${jnlp.mainclass}"/>
45 <replacestring from="DEMO_CODEBASE_TAG" to="${jnlp.codepase}/demos/"/>
46 <replacestring from="JOCL_CODEBASE_TAG" to="${jnlp.codepase}/"/>
47 <replacestring from="JOGL_CODEBASE_TAG" to="http://jogamp.org/deployment/webstart-next/"/>
48 </filterchain>
49 </copy>
50 </target>
84cc0fdd 51
84cc0fdd 52</project>
http://JogAmp.org git info: FAQ, tutorial and man pages.