diff options
author | Michael Bien <[email protected]> | 2011-02-03 20:40:46 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2011-02-03 20:40:46 +0100 |
commit | 992963009a1f551808e8da786b6b9d7b701f7a34 (patch) | |
tree | ae92d6eb8927dc7a36dfaea8c953f65a04d4c482 /build.xml | |
parent | 68519bb3029d42dc018eec740c29504f7a44867d (diff) |
configurable jnlp codebases.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -9,12 +9,13 @@ </not> </condition> + <import file="nbproject/build-impl.xml"/> + + <property file="nbproject/project.properties" /> + <!-- Pull in GlueGen cpptasks build file --> - <property name="gluegen.root" value="../gluegen" /> <import file="${gluegen.root}/make/gluegen-cpptasks.xml" /> - <import file="nbproject/build-impl.xml"/> - <target name="-pre-jar"> <tstamp> <format property="version.timestamp" pattern="yyyyMMdd"/> @@ -42,8 +43,9 @@ <target name="create-all-jnlps"> - <property name="jocl.codepase" value="http://jogamp.org/deployment/webstart-next/jocl"/> - <property name="jocl-demos.codepase" value="http://jogamp.org/deployment/webstart-next/jocl-demos"/> + <property name="jocl.codepase" value="JOCL_CODEBASE_TAG"/> + <property name="jogl.codepase" value="JOGL_CODEBASE_TAG"/> + <property name="jocl-demos.codepase" value="DEMO_CODEBASE_TAG"/> <antcall target="create-jnlp" inheritrefs="true"> <param name="jnlp.name" value="glclinterop"/> @@ -86,7 +88,7 @@ <target name="create-jnlp"> <condition property="jogl.extension" - value='<extension name="newt-all-awt" href="JOGL_CODEBASE_TAG/newt-all-awt.jnlp"/>' + value='<extension name="newt-all-awt" href="${jogl.codepase}/newt-all-awt.jnlp"/>' else=""> <istrue value="${jnlp.jogl}"/> </condition> @@ -95,6 +97,8 @@ <replacestring from="DEMO_TITLE" to="${jnlp.title}"/> <replacestring from="NAME_TAG" to="${jnlp.name}"/> <replacestring from="CLASS_TAG" to="${jnlp.mainclass}"/> + <replacestring from="DEMO_CODEBASE_TAG" to="${jocl-demos.codepase}"/> + <replacestring from="JOCL_CODEBASE_TAG" to="${jocl.codepase}"/> <replacestring from="EXTENSION" to="${jogl.extension}"/> </filterchain> </copy> |