You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2003/07/24 08:51:25 UTC

Re: Q: Double-expansion - reading environment variables "dynamica lly" ?

On Wed, 23 Jul 2003, Morten Mortensen
<mo...@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


Re: Q: Double-expansion - reading environment variables "dynamica lly" ?

Posted by Stefan Bodewig <bo...@apache.org>.
On 24 Jul 2003, Stefan Bodewig <bo...@apache.org> wrote:

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

Well, tried to fix and introduced a new bug, oops.

The next Gump build will see a lot of failures for taglibs because of
this.

Stefan

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