Added ant task validation.