ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: basedir not set corretly in subant task...
Date Thu, 15 Jul 2004 12:20:20 GMT
Steve Loughran wrote:

>
> I am switching to my macro as we speak. I also note that <presetdef> 
> and <macrodef> definitions are fixed once declared, so you have to use 
> new names if you do things with different meanings. This makes sense, 
> but it did just catch me out. It does mean that "use unique 
> macro/preset def names for project-private definitions" should go in 
> the style guide.

I do not follow this.

If you reuse the name of a macro, you should get the usual confusing 
message of:

Trying to override old definition of task macroname.


Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message