You are able to validate Ant build files using a validation scenario. To create a validation scenario, select Configure Validation Scenario(s)... from the Validation toolbar drop-down list or the Document > Validate menu.