>An: Ant Users List
>Betreff: Re: Nested element problem in custom task
>
>This is expected behaviour. When the Child instance is added
>to MyTask, it is not yet configured (i.e. its attributes are
>not yet set) . It will be configured by the time your task's
>execute() me
This is expected behaviour. When the Child instance is added to MyTask,
it is not yet configured (i.e. its attributes are not yet set) . It will
be configured by the time your task's execute() method is called. The
normal strategy is just to accumulate the Child objects in a collection
and only use
Hello,
Short story : I have an issue when adding a child element to its father
: child's attribute are not set when in addChild(Child element) method...
-- build.xml fragment --
...
In the classfile for Child, there's a setAttribute(String) method.
In the classfile for MyTask, ther