From: "Jose Alberto Fernandez" <[EMAIL PROTECTED]>

>    <sequential>
>        <path id='xxx'/>
>    </sequential>
>
> For this to work, I would have thought that
> TaskContainer needed a signature like
> "addTask(ProjectComponent)".
>
> Any hints on how this type violation was circumvented?

The following is from IntrospectionHelper

            // hide addTask for TaskContainers
            if
(org.apache.tools.ant.TaskContainer.class.isAssignableFrom(bean)
                && args.length == 1 && "addTask".equals(name)
                && org.apache.tools.ant.Task.class.equals(args[0])) {
                continue;
            }

This seems to be the code you are looking for,
I suppose?


> Jose Alberto

Cheers,
Magesh



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

Reply via email to