|
Re: Java World: Build scripts with Groovy and Ant artcicle: msg#00160lang.groovy.user
We do the same thing. Given build.propeties with contents: aproperty=avalue The following: ant = new AntBuilder() antprops = ant.property(file:"build.properties").getProject().getProperties() ant.echo(message:"aproperty=${antprops["aproperty"]}") will produce: [echo] aproperty=avalue It is not pretty, but it works. I wonder if there is a cleaner way of doing it? John Daniel Serodio dserodio-at-mandic.com.br |groovy| wrote: There's one great Ant feature that's missing from this example: build.properties files.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Live Groovy Talk @ Nov/10th @ VanJUG Vancouver, BC, Gerald Bauer |
|---|---|
| Next by Date: | Re: Java World: Build scripts with Groovy and Ant artcicle, John Lewis |
| Previous by Thread: | Re: Java World: Build scripts with Groovy and Ant artcicle, Daniel Serodio |
| Next by Thread: | Re: Java World: Build scripts with Groovy and Ant artcicle, John Lewis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |