Batch Validation

You can validate an entire repository using batch validation. Batch validation can be a very time-consuming and lengthy process, especially if you opt to validate all objects in a repository. One way to restrict the volume of objects to validate is in the Web Tools client – by selecting objects to exclude from the validation process in the Advanced Options dialog and saving the preferences. When batch validation starts, it reads these preferences and excludes the objects selected in the Web Tools client from validation – that is, provided the ComponentName parameter is set in the configuration file.

The following procedure shows how to use the command line to batch validate all objects in a repository. Batch validation is only available through the command line. While batch validation is running, you can continue to work in Web Tools.

To validate all objects in a repository

  1. Set the following in the [Siebel] section of the configuration (.cfg) file to use the exclusions defined in the Advanced Options dialog in the Web Tools client:

    [Siebel]
    ComponentName = Siebel Web Tools Client
  2. Open a command line, and then navigate to the $SIEBEL_HOME\BIN folder.

  3. Use the siebdevcli.exe /BatchValidate or siebdevcli.exe /BV command option (they are equivalent) to run batch validation. The syntax to use is as follows:

    siebdevcli.exe  /c config_file /d data_source /u user_name /p password /BatchValidate 
    /exportfile file_name

    You can use either /exportfile or /f (they are equivalent) to specify the file name. This switch is also optional. For example:

    siebdevcli.exe  /c swtools.cfg /d ServerDataSrc /u sadmin /p ****** /BatchValidate 
    /exportfile c:\validation.log

    or

    siebdevcli.exe  /c swtools.cfg /d ServerDataSrc /u sadmin /p ****** /BatchValidate 
    /f c:\validation.log

    The /BatchValidate switch runs all validation rules for the entire repository.