XML is not a programming language - http://supportweb.cs.bham.ac.uk/docs...
A good example of how to make simple code complicated. The simple if-then-else becomes so busy you now need a diagram (scroll down) to show you what is going on. - Sanjeev Singh
Sanjeev - sad thing is, the Ant guys knew that when they started and purposely avoided offering true control constructs. The problem is that while they built a great set of APIs and java class utilities, they tried to stick to an XML language which just wouldn't scale beyond basic build layouts. What someone should do is take all the Ant goodies they've built up and just roll it up in something like Groovy or BeanShell... perhaps http://www.gradle.org/ is it? - Patrick Lightbody
don't write ant scripts that require if/then/else - simple - Dave Hodson
classic case of, "if all you have is a hammer, everything starts to look like a nail" - Karim