On Friday 15 August 2003 12:06, Stefan Bodewig wrote:
> On Fri, 15 Aug 2003, peter reilly <[EMAIL PROTECTED]> wrote:
> > This does not work for the new types of definitions (macrodef,
> > presetdef, and scriptdef), so I am thinking of changing this to
> > always do the warning (unless they are the same definition as
> > reported by the AntTypeDefinition).
>
> A simple test of whether this is a good idea is a build file with a
> <taskdef> at the top-level and a target that contains <antcall>.  You
> are not supposed to get a warning when running the antcall.

Ah! Thanks,
I will try that.

In any case I have had another look at the original code, and
understand it a little better.

I am able to suppress the warning for <taskdef/> and <typedef/>
by using the original logic. But have ran into issues
with the other definitions (i.e. are all the unknown elements
the same?, is the script the same etc..)

Peter

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


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

Reply via email to