ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject macro/for fun
Date Fri, 18 Feb 2005 21:29:26 GMT
Anyone from ant-contrib want to add a caveat to the
documentation of the for task?  Being based on
macrodefs, for is the only place I know of where this
comes into play:  since the @ character is escaped
with another (@@) in macrodefs/for, nested for loops
must double-escape the @ character (@@@@).  This
applies to for loops appearing in macros as well. 
Looks like the rule is an additional two '@'s per
nesting level.  So no nesting = @@, one level deep =
@@@@, and two levels deep = @@@@@@ .

-Matt


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

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


Mime
View raw message