ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Setter in my own Anttask
Date Fri, 12 Feb 2010 16:19:19 GMT
On 2010-02-12, Knuplesch, Juergen <Juergen.Knuplesch@icongmbh.de> wrote:

> Hello,

> I read about the init() methos in Stefans link about the life cycle of an ANT task:
> 6.init() is called at run time.

> I did not find documentation for this.
> Is init() a static method or wht else?

No.  init() is a method in the Task class and Ant checks at runtime
whether the task (which doesn't have to extend Task) has such a method
and calls it.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message