Create a Validation Scenario for Ant Build Files
If you want to customize the validation process for Ant build files, you can create
            a new
            validation scenario (or configure an existing one). For example, if you want to validate
            interrelated modules that define a complex Ant build file, you can specify the main
            Ant file
            by configuring a validation scenario. To create or configure a validation scenario,
            select
             Configure
               Validation Scenario(s) from the
Configure
               Validation Scenario(s) from the  Validation toolbar drop-down menu or the  menu.
Validation toolbar drop-down menu or the  menu.
         
Passing parameters to the Ant validation engine
Ant validation scenarios cannot be configured to accept custom Ant parameters. However, you can specify values for the parameters in your Ant document using an Ant transformation scenario:
- Create a new Ant transformation scenario.
- Edit the transformation scenario and set all parameters you need to pass to your Ant document.
- Associate the new scenario with your Ant document (in the Configure Transformation Scenarios(s) dialog box).
                     You do not need to run the transformation scenario. Every time a validation operation
                     is
                     triggered, the built-in validation engine uses the parameters set in the transformation
                     scenario.
                     NoteThis behavior is available only for the validation scenarios that use the built-in validation engine. The custom defined validation engines do not benefit from this functionality.
