ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: DataType life cycle
Date Mon, 26 Mar 2007 12:36:31 GMT
Gilles Scokart wrote:
> What is the life cycle of a datatype?
> More precisely, I'm writting a dataype and I would like:
> 1. To be able to validate its attribute and content as soon as
> possible (and if possible report the Location of the error)
> 2. To launch some process to modify the Project as soon as the
> datatype is defined (actually, I want to add some properties in it).
> Currently, I validate the content only when the datatype is used by a
> task (and I can't report the location).  And I have overwritten the
> setProject for the second point.
> Is it the best aproach?
> Thanks,

This is something we were discussing on dev@ant last week. Right now 
there is no lifecycle; no methods called after configuration is complete 
yet before first use.

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

View raw message