views:

81

answers:

2

I have created a mail.jar file and mywar.war file. What I need to set into the manifest.mf use the mail.jar as a library?

A: 

Class-Path: ../relative/path_to_/mail.jar

EDIT: Note: The relative path should be with reference from the directory where your program is starting.

chinmaya
Your spelling error is pretty entertaining, but you might want to correct it. Or specify strawberry or raspberry.
bmargulies
So this manifest is inside jar file or war file?
haha I fixed it.@kenny-david in war file
chinmaya
+3  A: 

You don't use a MANIFEST.MF to put a jar in the classpath of a war file. You just put it into WEB-INF/lib in the war file.

bmargulies