reading properties from config file...

View: New views
2 Messages — Rating Filter:   Alert me  

reading properties from config file...

by john Sanabria-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

How can I read properties from a file located in the grails-app/conf
directory? For example, I put there the following file :

------------- gridjobs.conf --------------------
globushome=/opt/vdt/globus
---------------------------------------------------

How can get the globushome value from a service/quartz job and so on?

Thanks a lot,

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

    http://xircles.codehaus.org/manage_email



Re: reading properties from config file...

by Tomas Lin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 grailsApplication.config.globushome


On Tue, Jul 22, 2008 at 7:10 PM, John Sanabria <john.sanabria@...> wrote:

> Hi,
>
> How can I read properties from a file located in the grails-app/conf
> directory? For example, I put there the following file :
>
> ------------- gridjobs.conf --------------------
> globushome=/opt/vdt/globus
> ---------------------------------------------------
>
> How can get the globushome value from a service/quartz job and so on?
>
> Thanks a lot,
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email


LightInTheBox - Buy quality products at wholesale price