On Wed, 18 Feb 2004, Peter Reilly <[EMAIL PROTECTED]> wrote:
> Your container class will need to check if the Task is > an UnknownElement and call perform on it to > convert it to a Task and to execute it. > (see apache.tools.ant.taskdefs.Sequential)
Hmm, the FAQ entry doesn't say whether I can or can not convert the UnknownElement to a Task right inside the addTask method (i.e. use maybeConfigure) or only once execute has been invoked.
I'm not sure myself 8-)
Stefan
FYI, I have tried replacing the task inside the addTask and it seems to work thus far (I store the "real" task not the UnknownElement).
The Wabbit
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]