On Sat, Dec 26, 2009 at 4:01 PM, kunduruswaroop <[email protected]> wrote:

> How to include a jar file in an application jar file I did read many
> documents and did not find anything. Let say fir example:
>
> I am delivering a application xyz.war and that depends on classes12.zip file
> at run time. I wanted to include this file in my application say I wanted to
> add the library jar(classes12.zip) file in my war file under WEB-INF/lib
> before delivering to client.

First you asked how to put a jar inside a jar, and then you asked how
to put a zip inside a war.  Which is it?

Anything you list as a dependency of the war should end up in
WEB-INF/lib, but putting a zip in there doesn't make much sense...

You might want to look at the Assembly plugin docs.  That will let you
create a distribution with whatever directory structure and files you
need.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to