You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Ovidiu Predescu <ov...@apache.org> on 2002/04/03 05:41:22 UTC

[PATCH] uniform expansion of properties across tasks

Hi,

The latest Ant from main trunk CVS treats properties in different ways
depending on the target.

Some of the tasks expand the properties in a value as soon as the node
is created. Other tasks defer this expansion until the task is
executed. The later approach has the advantage of allowing tasks that
execute before, to change the value of properties in tasks that
follow.

The following patch fixes the problem, by providing a uniform
treatment of properties across all the tasks. In the new behavior, the
properties value is replaced at execution time, rather than at
initialization time.

Best regards,
Ovidiu