ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: antcall with macrodef
Date Wed, 15 Oct 2003 07:05:12 GMT
On Tue, 14 Oct 2003, Larry Shatzer <> wrote:

> If your ant file contains antcall and you have macrodef's, and those
> macrodefs have default attributes in the <attribute> element, it
> throws off this warning:
> Trying to override old definition of task <taskname here>

You'd see exactly the same if you used plain old <taskdef> at the top
level, or maybe you would not as the code that generates the warning
tries to see whether the old and new definitions use the same class
and <macrodef> works differently.

You could put your <macrodef>s into a target that your called target
doesn't depend on.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message