ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Q: Double-expansion - reading environment variables "dynamica lly" ?
Date Thu, 24 Jul 2003 06:51:25 GMT
On Wed, 23 Jul 2003, Morten Mortensen
<morten.mortensen@tietoenator.com> wrote:

> It basically repeats
> "org.apache.tools.ant.Project.replaceProperties()" until nothing new
> happens.

Without looking at the code, be careful with circular property
definitions then 8-)

<property name="a" value="${b}"/>
<property name="b" value="$${a}"/>
<use-that-task-on string="A string with ${a} that should get expanded"/>

unless there is some checking code in the task, this will loop
forever.

Stefan

who fixed a similar bug in <property file="..."/> yesterday.

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


Mime
View raw message