[kaffe] Jar files in 1.1.3?
Casey Marshall
rsdio@metastatic.org
Wed Dec 10 05:11:01 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:
Dalibor> Hi Mason,
Dalibor> Mason Loring Bliss wrote:
>> Hey, all. In trying to make a simple Jar file, I get this: jar cmf
>> wheretostart.txt helloworld.jar helloworld.class
>> java.util.jar.JarException: Attributes cannot be called 'Name' at
>> java.util.jar.Manifest.write_attribute_entry (Manifest.java:404) at
>> java.util.jar.Manifest.write_entry_attributes (Manifest.java:436)
>> at java.util.jar.Manifest.write_individual_sections
>> (Manifest.java:424) at java.util.jar.Manifest.write
>> (Manifest.java:325) 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:1088) at kaffe.tools.jar.Jar.processJar (Jar.java:404) at
>> kaffe.tools.jar.Jar.start (Jar.java:64) at kaffe.tools.jar.Jar.main
>> (Jar.java:43) *** Error code 2 Stop. There is no occurance of
>> 'Name' anywhere in my source or Makefile. Also, this operation
>> works fine with Sun's JDK. I'm running Kaffe 1.1.3 under NetBSD
>> 1.6.2_RC3.
Dalibor> I think it complains about the contents of the manifest
Dalibor> file. Could you post wheretostart.txt?
The problem is with kaffe.tools.jar.Jar. Line 1053.
- --
Casey Marshall || rsdio@metastatic.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE/1xsCgAuWMgRGsWsRAhJDAJ9vYgUpFu9kU3KQOBmKtwoPNSEiPQCeL31l
B8Vs1l7bA3J/aBUCL0EjnsA=
=HiV4
-----END PGP SIGNATURE-----