Does this really work? Can someone confirm it please!? Maybe i'm doing something wrong 
but i'm NOT able to have a manifest in my ejb-jar file that points to another shared 
jar file. In my example i want to point the Class-Path entry to another ejb-jar file 
that was also deployed in the deploy directory. No success with that. Has it anything 
to do with the fact that the ejb-jar files are moved during the deployment process? 
I'm not using ear files.

/Lennart

----- Original Message ----- 
From: Carlos Pita <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 3:48 AM
Subject: RE: [jBoss-User] MANIFEST.MF Class-Path and Jars


> You should put the lib directory under deploy and jar the rest of the files
> into the ejb jar:
> 
> deploy/ejb-app.jar
> deploy/lib/xml.jar
> deploy/lib/mylib.jar
> 
> 
> META-INF/
> META-INF/MANIFEST.MF
> com/acme/one.class
> com/acme/two.class
>                    \_______________________________ ejb-app.jar
> 
> 
> Also, you must use paths relative to the app (not the META-INFO dir) in your
> MANIFEST.MF:
> 
> Manifest-Version: 1.0
> Created-By: 1.3.0 (Sun Microsystems Inc.)
> Class-Path: lib/xml.jar lib/mylib.jar
> 
> Instead of this you could jar everything into an ear file, as some other
> people in the list suggested.
> 
> I hope that this reply, although being a late one (I'm new in the list and
> have found your post in the archives), helps you.
> 
> See you,
>     Carlos
> 
> -----Original Message-----
> From: Andrew J. Ayers
> To: JBoss-User
> Sent: 2/28/01 6:15 PM
> Subject: Re: [jBoss-User] MANIFEST.MF  Class-Path and Jars
> 
> I want to include some other 3rd party libraries in the EJB jar.  For
> example, the JAR looks like this:
> 
> META-INF/
> META-INF/MANIFEST.MF
> com/acme/one.class
> com/acme/two.class
> lib/xml.jar
> lib/mylib.jar
> 
> The MANIFEST.MF look something like this:
> 
> Manifest-Version: 1.0
> Created-By: 1.3.0 (Sun Microsystems Inc.)
> Class-Path: ../lib/xml.jar ../lib/mylib.jar
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to