ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <>
Subject Re: [PATCH] uniform expansion of properties across tasks
Date Thu, 04 Apr 2002 05:52:51 GMT
Here is an updated version of the previous patch. It changes even more tasks to
replace properties that appear in attributes and text nodes at runtime, instead
of tree construction time.

By looking at the code it appears there are many more tasks that need to be
reviewed for similar behavior.

You can apply the patch by cd-ing in the jakarta-ant directory and running

patch -p0 <ant.diff

Please let me know of any problems you see with the patch.

Best regards,

On Tue, 02 Apr 2002 19:41:22 -0800, Ovidiu Predescu <> wrote:

> 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

View raw message