users@glassfish.java.net

Re: finding folder under domain/domain1/lib

From: Justin Lee <justin.d.lee_at_oracle.com>
Date: Mon, 16 Aug 2010 17:46:36 -0400

  Look at these system properties: com.sun.aas.instanceRoot and
com.sun.aas.installRoot

On 8/16/10 4:43 PM, glassfish_at_javadesktop.org wrote:
> Is there a way to find the path to a folder under the domain's lib folder? Does the folder I need to find have to be under one of the other folders such as the ext or the classes folder instead?
>
> I need to do something like
>
> File = new File("folder");
>
> instead of
>
> File = new File("C:/glassfishv3/glassfish/domains/domain1/lib/folder");
>
> Probably a stupid question but it's the end of the day and my brain's not working right. ;)
>
> Thanks.
> [Message sent by forum member 'cain05']
>
> http://forums.java.net/jive/thread.jspa?messageID=480320
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>