Hi,

Here is a good article about the subject

http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html

It states that Application Servers do not have to
support classpaths in the manifest file for WAR or RAR
files.

However I recently found an article in the BEA
documentation that says it does support it for WAR
files,

David

--- "J. Matthew Pryor" <[EMAIL PROTECTED]>
wrote:
> Lets say I have an .ear wherein I want to package 3
> webapps
>
> All 3 webapp rely on the same jar file
>
> I know this works
>
> app/
>         webapp1/
>                 META-INF/lib/needed.jar
>                 index.jsp
>         webapp2/
>                 META-INF/lib/needed.jar
>                 index.jsp
>         webapp3/
>                 META-INF/lib/needed.jar
>                 index.jsp
>
> My 'diagram' might be a bit confusing, since the
> WARs in the EAR are
> archives, but I have shown them 'expanded', I hope
> it is clear enough.
>
> I was hoping that I could do this :
>
> app/
>         needed.jar
>         webapp1/
>                 META-INF/MANIFEST.MF
>                 index.jsp
>         webapp2/
>                 META-INF/MANIFEST.MF
>                 index.jsp
>         webapp3/
>                 META-INF/MANIFEST.MF
>                 index.jsp
>
> Where MANIFEST.MF would look like
>
> Manifest-Version: 1.0
> Created-By: Ant 1.4
> Class-Path: needed.jar
>
> It is not clear to me from reading the J2EE 1.3 spec
> that manifest
> Class-Path entries in WARs are supported
>
> Perhaps I have to include a minimal jar in each
> meta-inf/lib that would that
> have its own manifest that would reference
> needed.jar, something like
>
> Manifest-Version: 1.0
> Created-By: Ant 1.4
> Class-Path: ......
eeded.jar
>
>
> Anyone care to comment/clarify ?
>
> Thanks,
> Matthew
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff EJB-INTEREST".  For general
> help, send email to
> [EMAIL PROTECTED] and include in the body of the
> message "help".
>


=====
David J. Jones, <[EMAIL PROTECTED]>,
Virgin Mobile USA,
8th Floor,
22 Fourth Street,
San Francisco,
CA, 94103,               Work: 415 932 5470.
USA.                     Fax:  415 358 4999.

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to