The If task provides a greatly improved "if" capability to Ant projects. This task works in a manner very similar to the Java if keyword. This is useful for performing certain tasks only if a property has a specific value or certain conditions are met. This task can hold other tasks including the If task. In particular, it can also have a single "else", which gives Ant a Java-like if/else construc