ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: JUnitTask - Question
Date Thu, 23 Mar 2006 19:32:18 GMT
On Tue, 14 Mar 2006, Daniel Kasmeroglu
<> wrote:

> Generally this is okay for ANT because it seems that ANT creates the
> child-elements before setting the attributes, so this won't produce
> an error (correct me if I'm wrong).  But I would like to know if
> this is part of ANT's design so a developer must take this into
> account when the API is used directly or is it just an unproper way
> of implementation within the JUnitTask ?

See the "Developing with Ant" -> "Writing Your Own Task" -> "Lifecycle
of a Task" section in the Ant manual.  child elements are handled in
step 6, attributes in step 7.  So yes, this is part of Ant's contract
with tasks.


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

View raw message