ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
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 = @@@@@@ .


Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.

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

View raw message