ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] Definer to allow types/tasks from the same jar to work
Date Fri, 24 May 2002 09:08:44 GMT
On Fri, 24 May 2002, Peter Donald <peter@apache.org> wrote:

> However I am not sure this works anymore because of changes that
> Stefan made wrt overiding tasks etc? I dunno - Stefan ?

I'm not aware of such a case.

        Class old = (Class) taskClassDefinitions.get(taskName);
        if (null != old) {
            if (old.equals(taskClass)) {
                log("Ignoring override for task " + taskName

would still override the old definition if taskClass and oldClass have
been loaded from different classloaders.

Are you aware of any problems?

Stefan

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