A
Andrew Thompson
I am attempting to implement the code for getting
version information* shown on the 'Getting a
property from MANIFEST.MF?'** thread
* <http://groups.google.com/group/comp.lang.java.programmer/msg/
3ac4e320e07f65f9>
** <http://groups.google.com/group/comp.lang.java.programmer/
browse_frm/thread/878e34a5e2b85310/3ac4e320e07f65f9>
(..and since I brought it up, brilliant thread, so
glad to be proven wrong yet again!)
I am calling the code from the ..
org.pscode.ui.applet.appleteer.PseudoBrowser
...class and while getting the package successfully,
it is returning null for the Implementation and
Specification Title, Vendor and Version.
Here is the manifest, written by Ant and ostensibly
working (Jar successfully launches on double click)
<manifest>
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.6.0-b105 (Sun Microsystems Inc.)
main-class: org.pscode.appleteer.Appleteer
Name: org/pscode/ui/applet/appleteer
Implementation-Title: Appleteer
Implementation-Vendor: PSCode - Andrew Thompson
Implementation-Vendor-Id: org.pscode
Implementation-Version: 8.12
Specification-Title: Appleteer
Specification-Vendor: PSCode - Andrew Thompson
Specification-Version: 8.12
</manifest>
I also tried ..
Name: org.pscode.ui.applet.appleteer
...and got the same 'null' effect.
Can anyone spot what I am doing wrong?
version information* shown on the 'Getting a
property from MANIFEST.MF?'** thread
* <http://groups.google.com/group/comp.lang.java.programmer/msg/
3ac4e320e07f65f9>
** <http://groups.google.com/group/comp.lang.java.programmer/
browse_frm/thread/878e34a5e2b85310/3ac4e320e07f65f9>
(..and since I brought it up, brilliant thread, so
glad to be proven wrong yet again!)
I am calling the code from the ..
org.pscode.ui.applet.appleteer.PseudoBrowser
...class and while getting the package successfully,
it is returning null for the Implementation and
Specification Title, Vendor and Version.
Here is the manifest, written by Ant and ostensibly
working (Jar successfully launches on double click)
<manifest>
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.6.0-b105 (Sun Microsystems Inc.)
main-class: org.pscode.appleteer.Appleteer
Name: org/pscode/ui/applet/appleteer
Implementation-Title: Appleteer
Implementation-Vendor: PSCode - Andrew Thompson
Implementation-Vendor-Id: org.pscode
Implementation-Version: 8.12
Specification-Title: Appleteer
Specification-Vendor: PSCode - Andrew Thompson
Specification-Version: 8.12
</manifest>
I also tried ..
Name: org.pscode.ui.applet.appleteer
...and got the same 'null' effect.
Can anyone spot what I am doing wrong?