Article View: borland.public.jbuilder.java.api
Article #1491Re: Found this on JGuru regarding classpath and mail.jar
From: R.F. Pels
Date: Wed, 02 Jan 2002 23:38
Date: Wed, 02 Jan 2002 23:38
23 lines
1809 bytes
1809 bytes
Roy McBrayer wrote: > I found this statement on JGuru regarding the mail.jar file. > > "Here's something of note that we found while coming up with the solution. > The Java Mail package has a manifest as well as other textual data at the > root of the jar package it is deployed in. If you try to include the Mail > package in your own application package it will fail because your package > will have its own manifest, not the one the JavaMail needs. Because that textual data needs to be added EXPLICITLY by you when creating a jar that also contains JAF and JavaMail jar-content. It CAN be done, at least, I HAVE done it and it WORKS. > Therefore, you MUST always use the mail API in your classpath, never as > part of your own package. This is a replay of what Sun tells you in the JavaMail documentation. But it can be circumvented. -- Ruurd
Technical Details
Message-ID:
<3c3399cb_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.86.7.162!newsfeed.wirehub.nl!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3c335bd8$1_1@dnews> <3c339323$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,6e70eee7dc2ae969 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-01-02 15:39:34 PST Message-ID: <3c3399cb_2@dnews> From: "R.F. Pels" <ruurd@acklin.nl> Subject: Re: Found this on JGuru regarding classpath and mail.jar Newsgroups: borland.public.jbuilder.java.api Date: Thu, 03 Jan 2002 00:38:03 +0100 References: <3c335bd8$1_1@dnews> <3c339323$1_2@dnews> Lines: 23 Organization: Acklin B.V. User-Agent: KNode/0.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 195.241.210.158 X-Trace: dnews 1010014669 195.241.210.158 (2 Jan 2002 15:37:49 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.86.7.162!newsfeed.wirehub.nl!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews