users@glassfish.java.net

Re: Application Libraries - domains/domain1/applibs

From: Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_Sun.COM>
Date: Fri, 03 Aug 2007 14:09:39 +0530

glassfish_at_javadesktop.org wrote:
> Thanks Jan I did look at this but thought it a bit odd that the extra-class-path attribute looks in the webapps doc root. In my (humble) opinion it would of made more sense for the path to be relative to domains/<yourdomain>/lib/applibs since that is where the documentation states we should put additional runtime dependancies.

extra-class-path looks in webapps doc root because it was designed that way. It
was meant to capture list of libraries that needed to be added to the classpath
of the web application.

>
> Anyway, could I do this with the extra-class-path attribute?
>
> ../../../../lib/applibs/foo/bar.jar,../../../../lib/applibs/foo/car.jar

I think this could be done [Jan could correct us if this wouldn't work], but it
makes your app so tied to the dir layout and may not be portable across various
glassfish profiles/editions.

Thanks
--Siva.

>
> Thanks
>
> Dan
> [Message sent by forum member 'danielrhoades' (danielrhoades)]
>
> http://forums.java.net/jive/thread.jspa?messageID=229294
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>