ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kasmeroglu <Daniel.Kasmero...@Kasisoft.net>
Subject Re: JUnitTask - Question
Date Thu, 23 Mar 2006 19:38:15 GMT
Stefan Bodewig schrieb:

> 
>>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.
> 
Sorry, for being an idiot. I must be blind. Thanks, that you've
pointed me to this location.

Ciao
Kasimir

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


Mime
View raw message