users@glassfish.java.net

Re: Application Libraries - domains/domain1/applibs

From: <Jan.Luehe_at_Sun.COM>
Date: Fri, 03 Aug 2007 12:43:39 -0700

Sivakumar Thyagarajan wrote:

> 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.


Exactly.

>
>>
>> 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.


Correct. In addition, "extra-class-path" has always used ":" and ";"
(instead of comma)
as separators.
 

Jan

>
> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>