Re: [Fwd: Re: [architecture] Re: JPackages and ObjectWeb]
- To: Nicolas Mailhot <Nicolas.Mailhot@laposte.net>
- Cc: Jan Schulz <default@katzien.de>, David Walluck <david@anti-microsoft.org>, Eric Bruneton <Eric.Bruneton@rd.francetelecom.com>, Discussion about JPackage project <jpackage-discuss@zarb.org>, architecture@objectweb.org, gentoo-java@gentoo.org, debian-java@lists.debian.org
- Subject: Re: [Fwd: Re: [architecture] Re: JPackages and ObjectWeb]
- From: Kenneth Pronovici <pronovic@debian.org>
- Date: Mon, 2 Feb 2004 18:36:14 -0600
- Message-id: <[🔎] 20040203003614.GE18871@skyjammer.com>
- Mail-followup-to: Nicolas Mailhot <Nicolas.Mailhot@laPoste.net>, Jan Schulz <default@katzien.de>, David Walluck <david@anti-microsoft.org>, Eric Bruneton <Eric.Bruneton@rd.francetelecom.com>, Discussion about JPackage project <jpackage-discuss@zarb.org>, architecture@objectweb.org, gentoo-java@gentoo.org, debian-java@lists.debian.org
- Reply-to: Kenneth Pronovici <pronovic@debian.org>
- In-reply-to: <[🔎] 1075766551.2245.13.camel@m222.net81-64-248.noos.fr>
- References: <4017009B.5050507@anti-microsoft.org> <[🔎] 200402021026.18018.Eric.Bruneton@rd.francetelecom.com> <[🔎] 1075718767.22070.2.camel@ulysse.olympe.o2t> <200402021720.07283.Eric.Bruneton@rd.francetelecom.com> <[🔎] 401EB00C.5090700@anti-microsoft.org> <[🔎] 20040202222857.GA9228@katzien.de> <[🔎] 1075766551.2245.13.camel@m222.net81-64-248.noos.fr>
> > >For #8:
> > >We should add that all jars should have a manifest (but without
> > >Class-Path). Ant can autogenerate a manifest, or does, I forget?
> >
> > BTW: I never yet touched Manifests, what are they actually for? :)
>
> Manifests are a child of java applets. Sun needed a place to put
> metadata info like classpathes in single-jar applets and thus Manifests
> were born.
>
> They are mostly useless in a non applet context.
Are you sure about that? I believe I have also used a manifest when
creating a standalone executable-in-a-jar (to be run with 'java -jar').
Ah, yes, I did remember that correctly:
http://java.sun.com/docs/books/tutorial/jar/basics/manifest.html
This page says, "[i]f you're interested only in the 'ZIP-like' features
of JAR files such as compression and archiving, you don't have to worry
about the manifest file. The manifest doesn't really play a role in
those situations."
However, for Java 1.2, the manifest apparently allows you to do things
like seal the JAR, create applications bundled in a JAR file, etc. So,
the manifest is not quite mostly-useless in a non-applet context. :-)
KEN
--
Kenneth J. Pronovici <pronovic@debian.org>
Attachment:
pgpQ6csUjxEWq.pgp
Description: PGP signature
Reply to: