On 2010-12-01 14:07, Farrukh Najmi wrote:
> 
> I have a webapp that has two servlets:
> 
>    1. A server for my application
>    2. A JnlpDownloadServlet that serves a webstart app that is a swing
>       client to my server
> 
> The two servlets share many of the same jar dependencies.
> 
> I use the webstart-maven-plugin and its jnlp-download-servlet goal to
> package the webstart app within my webapp.
> The problem is that the shared jars between the two servlets are now
> duplicated under WEB-INF/lib and webstart directories.
> The webstart directory has the signed version of the shared jars.
> 
> This jar duplication is costing nearly 30 MB in the size of my war file
> for my webapp. Is there some option in the webstart-maven-plugin that
> somehow eliminated the jar duplication?

Hi

I don't think it's possible to do this, with or without Maven or the
Webstart Plugin.

The jars used for your webstart app needs to be signed and accessible
via the web. So they can't be anywhere inside the WEB-INF folder in your
webapp.

The jars used by your servlets needs to be in WEB-INF/lib to be useful
in a webapp.

I think you need to have duplicate jars in this case.


> 
> -- 
> Regards,
> Farrukh Najmi
> 
> Web: http://www.wellfleetsoftware.com
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to