Wascally Wabbit wrote:

At 07:11 AM 2/19/2004, you wrote:

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).

Yes, this should work. I will update the FAQ with this information. (Hopefully, this time with nearly correct spellings). Peter


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to