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:21:39 GMT
On 2010-02-12, Knuplesch, Juergen <Juergen.Knuplesch@icongmbh.de> wrote:

> Thanks for the link, but either I did not understand the docu correct
> or sth. wrong:

indeed there is something wrong, a step is missing.

> 6.init() is called at run time.
> 7.All child elements of the XML element corresponding to this task are
> created via this task's createXXX() methods or instantiated and added
> to this task via its addXXX() methods, at run time.
> 8.All attributes of this task get set via their corresponding setXXX
> methods, at runtime.

> Does this mean that the addConfigured methods should be called before
> the setters?

No.  addConfiguredXXX is called between steps 10 and 11.

This is hinted at in
<http://ant.apache.org/manual/develop.html#nested-elements>

Stefan

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


Mime
View raw message