Comment by bokchoi
5 hours ago
As of Ant 1.9.1, you can use 'if' and 'unless' attributes on any task or element in a target. I stopped using Ant a long time ago, but this was a pleasant discovery when I had to pick up an old Ant based project recently.
Nice, I was basing my answer on what was there initially.
I always liked Ant, as I don't suffer from XML allergy.