> FWIW, text doesnt get expanded, and its a big source of problems as
> people (including ant developers) are always forgetting to expand them.
I don't think it would worsen the problem, it might even be one more
place in the code to make task writers aware of the pitfall.
I also think that in a well written task the user shouldn't even
be aware of it. But there are special cases it might be useful.
Examples:
- The attribute represents an expression with an ant like syntax
you don't want to fill with '$$'.
- You want to handle the attribute somehow before calling
ReplaceProperties yourself.
- You want to implement lazy evaluation.
> If you take the stuff as nested text you can bypass the expansion.
I hadn't thought about it, thanks! I already have implemented a
"::noexpansion::" solution in a custom PropertyHelper ...
but this seems easier, I'll definitely give it a try.
Stefano Marsili
---------------------------------
Get amazing travel prices for air and hotel in one click on Yahoo! FareChase