ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Command Line Property Overrides Broken in trunk
Date Wed, 24 Feb 2010 09:47:39 GMT
On 2010-02-24, Stefan Bodewig <bodewig@apache.org> wrote:

> Common to all those failures is something like this:

No, it's more complex and involves loading properties from a file where
one property references a different one defined in the same file.

++ file x.props ++
x=x
y=${x}

++ file x.xml ++
<project>
  <property file="x.props"/>
  <echo>x is ${x}</echo>
  <echo>y is ${y}</echo>
</project>

using svn revision 912609:

$ ant -f x.xml -Dx=a
Buildfile: c:\Temp\x.xml
     [echo] x is a
     [echo] y is a

using svn revision 912610:

$ ant -f x.xml -Dx=a
Buildfile: c:\Temp\x.xml
     [echo] x is a
     [echo] y is x

so Peter is correct, it's been his latest change.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message