ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
Subject <macrodef> and local
Date Thu, 17 Jun 2004 09:27:18 GMT

I am now convinced we need local properties; without it macrodef doesnt 
work fully.

One option: in the <macrodef> declaration, you declare which properties 
are local. When the macro exits these properties are deleted -if they 
were not set before entering the macro.

That is, properties set before the macro remain immutable, only those 
set inside get reset.

We'd need to do the cleanup on both a normal exit and a buildexception.

-steve

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


Mime
View raw message