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

> So I now start the application in every method that "runs" a nested
> element. E.g. addConfigured... and some others.

> Is this a good way to do it?

Hard to tell.  Maybe it would be better to collect the nested elements
and just do something once execute has been called.

> Is it right that nested elements are added after the setters have been
> executed?

It depends on whether you use createX(), addX() or addConfiguredX().
See "The Life-cycle of a Task" in
<http://ant.apache.org/manual/develop.html#writingowntask>

Stefan

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


Mime
View raw message