[kaffe] xpg fails to build: java.util.jar.JarException: Attributes cannot be called 'Name'
Joshua Nichols
joshua.nichols at gmail.com
Tue Oct 11 17:32:28 PDT 2005
I'm trying to build the Gentoo package for xpg (
http://www.kazak.ws/xpg/) with kaffe-1.1.6. When doing so, I get the
following error:
jar cvfm idiom.jar src/META-INF/MANIFEST.MF -C src kazak/xpg/idiom
java.util.jar.JarException: Attributes cannot be called 'Name'
at java.util.jar.Manifest.write_attribute_entry (Manifest.java:401)
at java.util.jar.Manifest.write_main_attributes (Manifest.java:388)
at java.util.jar.Manifest.write_main_section (Manifest.java:335)
at java.util.jar.Manifest.write (Manifest.java:320)
at java.util.jar.JarOutputStream.writeManifest (JarOutputStream.java:98)
at java.util.jar.JarOutputStream.<init> (JarOutputStream.java:81)
at kaffe.tools.jar.Jar.createJar (Jar.java:1128)
at kaffe.tools.jar.Jar.processJar (Jar.java:420)
at kaffe.tools.jar.Jar.start (Jar.java:80)
at kaffe.tools.jar.Jar.main (Jar.java:59)
For what its worth, blackdown-1.4 gives some warning when doing the
same command:
jar cvfm idiom.jar src/META-INF/MANIFEST.MF -C src kazak/xpg/idiom
Oct 11, 2005 8:25:38 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Name
Oct 11, 2005 8:25:38 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Java-Bean
Oct 11, 2005 8:25:38 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Main-Class
added manifest
Please let me know if I can provide any more useful information.
- Josh
More information about the kaffe
mailing list