[kaffe] Jar files in 1.1.3?

Mason Loring Bliss mason@acheron.middleboro.ma.us
Tue Dec 9 21:17:02 2003


--JbKQpFqZXJ2T76Sg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

It's no big deal for me. I'm just wondering if other folks have
successfully made functional .jar files with the supplied tools.

Thanks in advance for clues!

--=20
  Mason Loring Bliss   mason@acheron.middleboro.ma.us  I m m a n e n t i z e
awake ? sleep : dream;    https://bliss.dyndns.org/    t h e E s c h a t o n

--JbKQpFqZXJ2T76Sg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQE/1qxAykMMY715wXIRAryiAKDrdN3cySHupoHtEMrCqWyZfLZ/UQCgre7I
bVVpW+wsbDyjS1yfmt0hZlk=
=jCTH
-----END PGP SIGNATURE-----

--JbKQpFqZXJ2T76Sg--