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.https://ant.apache.org/manual/ifunless.html
giamma|2 months ago
pjmlp|2 months ago
I always liked Ant, as I don't suffer from XML allergy.