----- Original Message -----
From: "Daniel Schulze" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Friday, December 08, 2000 1:32 PM
Subject: Re: AW: AW: [jBoss-User] Shared classes
> Damn, is it really that complicated!?
>
> The Class-Path entry in a MANIFEST.MF file points to a archive
> ***RELATIVE*** to the archive containing this MANIFEST.MF. This
way an
> Class-Path entry in the ear files MANIFEST.MF can never
reference a
> archive INSIDE the ear file. It would try to find the archive
outside
> the ear file relative to it (but actually the Class-Path entry
in the
> ear files MANIFEST.MF is never checked).
>
> To reference an archive inside the ear from an other archive
inside the
> ear, you must add the Class-Path entry to the archives
MANIFEST.MF
> inside the ear file (your bean archive)!
Hi Daniel,
Okay, maybe this is a dumb problem. I tried creating a
'MANIFEST.MF' file in the 'META-INF' directory where my .war file
was being created.
For instance, is this the right setup?
mywar/index.html
mywar/WEB-INF/web.xml
mywar/WEB-INF/classes/...
mywar/META-INF/MANIFEST.MF
Every time I jar'd things up for deployment to create the .war
like this:
cd mywar
jar cvf ../mywar.war .
the MANIFEST.MF file would get ignored and a new one created
without my 'Class-Path' or anything. Is this normal?
This isn't urgent since I solved the problem by putting the
client jar files I needed into the .war file, but I'm very
curious since I spent some time on this.
Thanks!
Chris
--
Chris Winters <[EMAIL PROTECTED]>
Internet Developer
http://www.optiron.com/
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]