ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Sitruk" <>
Subject RE: General Question on nested element of tasks
Date Mon, 29 Jan 2007 08:16:05 GMT


-----Original Message-----
From: Dominique Devienne [] 
Sent: Monday, 29 January, 2007 01:54
To: Ant Users List
Subject: Re: General Question on nested element of tasks

On 1/28/07, Mikael Sitruk <> wrote:
> Is it possible to have a global declaration of nested element of a task and reference
them later in the container task?

Yes. Your nested elements need to support a refid attribute of course,
but also have logic for all other attributes/elements to check whether
the current instance is the "real thing", or a reference. By
convention, elements refid'd should not accept any other attributes or
nested elements. Look into the Ant sources for example, and into
DataType, the base class for many nested elements. --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

This message and the information contained herein is proprietary and confidential and subject
to the Amdocs policy statement,
you may review at
View raw message