Re: what to expand?

2010-06-18 Thread Bruce Atherton
On 18/06/2010 7:48 AM, Dominique Devienne wrote: On Fri, Jun 18, 2010 at 2:47 AM, Stefan Bodewig wrote: On 06/17/2010 11:10 AM, Stefan Bodewig wrote: Assume x=x y=${x} and that there is no property x defined prior to then ${y} will be "x". Using ${foo.y} in Ant 1.8.0 is ${x

Re: what to expand?

2010-06-18 Thread Dominique Devienne
On Fri, Jun 18, 2010 at 2:47 AM, Stefan Bodewig wrote: > On 06/17/2010 11:10 AM, Stefan Bodewig wrote: > Assume > > x=x > y=${x} > > and that there is no property x defined prior to > >     > > then ${y} will be "x".  Using > >     > > ${foo.y} in Ant 1.8.0 is ${x} while it is "x" in 1.8.1 - the p

Re: what to expand?

2010-06-18 Thread Stefan Bodewig
On 2010-06-17, Jesse Glick wrote: > On 06/17/2010 11:10 AM, Stefan Bodewig wrote: >> Ant 1.8.1 uses the prefix when expanding ${x} inside the file and >> thus expands ${foo.y} to "x" which makes sense in that it makes the >> property file self-contained. > When is this an advantage? If you want