Improves a bit the error reporting within the Ant task