summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-01-22 10:24:38 +0100
committerSven Gothel <[email protected]>2014-01-22 10:24:38 +0100
commit971190d8718bb1e2b7eafdd49cfa2523dd8a8152 (patch)
tree9b97c08633b323d23eea6ea6d9b185f13ec3341a /make/build.xml
parent1eb0c1c14240f1e8c1dfbf8493c589f8dba4c4b6 (diff)
Adapt to Oracle's removal of the Java Applet Sandbox, i.e. >= 7u51 ; Remove reference to JNLPAppletLauncher - use NApplet fallback
Sadly, due to Oracle's Java Applet Plugin update 7u51, unsigned applets are no more allowed and hence the Applet sandbox is being taken away.
Diffstat (limited to 'make/build.xml')
-rw-r--r--make/build.xml24
1 files changed, 18 insertions, 6 deletions
diff --git a/make/build.xml b/make/build.xml
index f1c2039..68bfd87 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -115,6 +115,18 @@
<property name="jogl.redbook.excludes" value="redbook/**" />
+ <copy file="${project.root}/manifest.mf"
+ tofile="${build}/manifest.mf"
+ overwrite="true">
+ <filterset>
+ <filter token="VERSION" value="${jogamp.version}"/>
+ <filter token="BUILD_VERSION" value="${jogl-demos.version}"/>
+ <filter token="SCM_BRANCH" value="${jogl-demos.build.branch}"/>
+ <filter token="SCM_COMMIT" value="${jogl-demos.build.commit}"/>
+ <filter token="BASEVERSION" value="${jogamp.version.base}"/>
+ <filter token="JAR_CODEBASE_TAG" value="${jogamp.jar.codebase}"/>
+ </filterset>
+ </copy>
</target>
<target name="nurbs" if="jogl.nurbs">
@@ -180,7 +192,7 @@
</javac>
<antcall target="redbook-javac" inheritrefs="true" />
<antcall target="nurbs" inheritrefs="true" />
- <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos.jar}">
+ <jar manifest="${build}/manifest.mf" destfile="${jogl-demos.jar}">
<fileset dir="${classes}">
<exclude name="gleem/**" />
<exclude name="demos/util/**" />
@@ -206,13 +218,13 @@
<include name="demos/particles/engine/images/*.jpg" />
</fileset>
</jar>
- <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos-util.jar}">
+ <jar manifest="${build}/manifest.mf" destfile="${jogl-demos-util.jar}">
<fileset dir="${classes}">
<include name="gleem/**" />
<include name="demos/util/**" />
</fileset>
</jar>
- <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos-data.jar}">
+ <jar manifest="${build}/manifest.mf" destfile="${jogl-demos-data.jar}">
<fileset dir="${src}">
<include name="demos/data/**" />
<exclude name="demos/data/models/dragon.obj" />
@@ -223,7 +235,7 @@
</fileset>
</jar>
<!-- due to size or usability .. create self packaged jars (code + data) -->
- <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos-dualDepthPeeling.jar}">
+ <jar manifest="${build}/manifest.mf" destfile="${jogl-demos-dualDepthPeeling.jar}">
<fileset dir="${classes}">
<include name="demos/dualDepthPeeling/**" />
</fileset>
@@ -237,7 +249,7 @@
<include name="demos/data/**" />
</fileset>
</jar>
- <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos-tennis.jar}">
+ <jar manifest="${build}/manifest.mf" destfile="${jogl-demos-tennis.jar}">
<fileset dir="${classes}">
<include name="demos/tennis/**" />
</fileset>
@@ -273,7 +285,7 @@
<src path="${src}" />
<classpath refid="jogl-demos.classpath" />
</javac>
- <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos.jar}">
+ <jar manifest="${build}/manifest.mf" destfile="${jogl-demos.jar}">
<fileset dir="${classes}">
<include name="**" />
</fileset>