ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject Re: What is going on in ANT1.x
Date Wed, 06 Feb 2002 02:03:05 GMT
From: "Jose Alberto Fernandez" <j_a_fernandez@yahoo.com>

>    <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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message