diff options
author | Sven Gothel <[email protected]> | 2013-11-01 01:35:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-11-01 01:35:58 +0100 |
commit | 5be76f58a943546582159b0069ca9a888a2cb7fd (patch) | |
tree | 6850a08500f22fd60c5fa4f78abc6c8dc6a4b618 | |
parent | 2f34edbd46b526723658adce4bf14dc471e67ea7 (diff) |
Bug 881 - Add 'Application-Name' in Jar's manifest to avoid Java6 NPEs ..
-rw-r--r-- | make/build.xml | 12 | ||||
-rw-r--r-- | manifest.mf | 10 |
2 files changed, 14 insertions, 8 deletions
diff --git a/make/build.xml b/make/build.xml index f11e6a5..f1c2039 100644 --- a/make/build.xml +++ b/make/build.xml @@ -180,7 +180,7 @@ </javac> <antcall target="redbook-javac" inheritrefs="true" /> <antcall target="nurbs" inheritrefs="true" /> - <jar destfile="${jogl-demos.jar}"> + <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos.jar}"> <fileset dir="${classes}"> <exclude name="gleem/**" /> <exclude name="demos/util/**" /> @@ -206,13 +206,13 @@ <include name="demos/particles/engine/images/*.jpg" /> </fileset> </jar> - <jar destfile="${jogl-demos-util.jar}"> + <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos-util.jar}"> <fileset dir="${classes}"> <include name="gleem/**" /> <include name="demos/util/**" /> </fileset> </jar> - <jar destfile="${jogl-demos-data.jar}"> + <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos-data.jar}"> <fileset dir="${src}"> <include name="demos/data/**" /> <exclude name="demos/data/models/dragon.obj" /> @@ -223,7 +223,7 @@ </fileset> </jar> <!-- due to size or usability .. create self packaged jars (code + data) --> - <jar destfile="${jogl-demos-dualDepthPeeling.jar}"> + <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos-dualDepthPeeling.jar}"> <fileset dir="${classes}"> <include name="demos/dualDepthPeeling/**" /> </fileset> @@ -237,7 +237,7 @@ <include name="demos/data/**" /> </fileset> </jar> - <jar destfile="${jogl-demos-tennis.jar}"> + <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos-tennis.jar}"> <fileset dir="${classes}"> <include name="demos/tennis/**" /> </fileset> @@ -273,7 +273,7 @@ <src path="${src}" /> <classpath refid="jogl-demos.classpath" /> </javac> - <jar destfile="${jogl-demos.jar}"> + <jar manifest="${project.root}/manifest.mf" destfile="${jogl-demos.jar}"> <fileset dir="${classes}"> <include name="**" /> </fileset> diff --git a/manifest.mf b/manifest.mf index 328e8e5..9b9f1de 100644 --- a/manifest.mf +++ b/manifest.mf @@ -1,3 +1,9 @@ Manifest-Version: 1.0 -X-COMMENT: Main-Class will be added automatically by build - +Application-Name: Java Bindings for OpenGL Test +Specification-Title: Java Bindings for OpenGL Tests +Specification-Vendor: JogAmp Community +Implementation-Title: Java Bindings for OpenGL Tests +Implementation-Vendor: JogAmp Community +Implementation-URL: http://jogamp.org/ +Extension-Name: javax.media.opengl +Implementation-Vendor-Id: com.jogamp |