[prev in list] [next in list] [prev in thread] [next in thread]
List: groovy-user
Subject: Re: [groovy-user] How do you load properties into variables into groovy.
From: "Thomas R. Corbin" <corbin () samsixedd ! com>
Date: 2005-08-18 16:21:23
Message-ID: 200508181121.23772.corbin () samsixedd ! com
[Download RAW message or body]
On Thursday, 18 August 2005 03:17 am, Dierk Koenig wrote:
> an example is available under
> http://cvs.groovy.codehaus.org/viewrep/groovy/groovy/modules/grails/samples
>/ books/build.groovy?r=1.4
Whoa, that's wonderful. Thanks, that's exactly what I needed.
The Property.load that someone mentioned also looks good, but this
fits into ant and groovy pretty well.
>
> cheers
> Mittie
>
> > -----Original Message-----
> > From: Thomas R. Corbin [mailto:corbin@samsixedd.com]
> > Sent: Mittwoch, 17. August 2005 17:12
> > To: user@groovy.codehaus.org
> > Subject: [groovy-user] How do you load properties into variables into
> > groovy.
> >
> >
> >
> > I'm using AntBuilder and
> >
> > ant.property( file: srcDir + "/com/coned/config/oms.properties" )
> >
> > doesn't seem to work, I can't do an "ant.echo" later and see the
> > contents of
> > the properties.
> >
> > Or is there some way to load properties from a file into a map?
> >
> > Thanks,
> > Tom
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic