Mikael, if you use 1.6.* ant branch - you can also look ant-contrib library :
http://ant-contrib.sourceforge.net/ - (URL may be wrong - sorry if it's true :)
)
If that package you get variable or var task - that task can overwrite and
unset ant properties.
Also you get some useful stuff like i
Well you could certainly use targets with the if/unless attributes...
For instance:
Personally, ant contrib has an task that might feel more natural so
you don't have to use 's in this way. I am finding more and
more I rely on ant contrib. The script would might look