Thanks

-----Original Message-----
From: Dominique Devienne [mailto:[EMAIL PROTECTED] 
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

Reply via email to