ant-user mailing list archives

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

Thanks

-----Original Message-----
From: Dominique Devienne [mailto:ddevienne@gmail.com] 
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 <MikaelS@amdocs.com> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


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
Mime
View raw message