Verify Migration Result

This section offers step-by-step guidance for verifying if the DaVinci Configurator Classic Version 6 (CFG6) migration is complete and therefore, can be executed via CFG6 CLI.

Prerequisites

Verifying the migration result of Automation Interface scripts requires the setup of:

License

Installation

Input

  • BSW Package

  • Migrated CFG6 script project or script file

  • If script covers project-related actions: CFG6 DaVinci Project

Verify CFG6 Script Project

This section describes steps for verifying migrated CFG6 Automation Interface script projects.

Compile CFG6 Script Project

  1. Open your CLI.

  2. Navigate to the CFG6 script project directory.

  3. Run gradlew build to start the compilation and build of the script project.

  4. If the compilation of the CFG6 script project fails (see CLI status logs of the compilation process), follow the error logs to fix your setup or script code and re-run the compilation once more.

Results

If the compilation of the CFG6 script project succeeds, a .jar file containing the compiled script code is created inside the directory <script project>/build/libs.

Test Compiled CFG6 Script

  1. Open your CLI.

  2. Navigate to the CFG6 installation directory.

  3. Run dvcfg-b.exe automation run -t <script task name> -l <path to parent directory of .jar file> -b <path to BSW Package> -p <path to CFG6 DaVinci Project> to start the Automation Interface script execution for the specified script task.

  4. If the execution of the compiled CFG6 script project fails (see CLI status logs of the script execution), follow the error logs to fix your setup or script code, re-compile (see Compile CFG6 Script Project) and re-run the script execution once more.

CFG6 CLI Help
Run dvcfg-b.exe -h for a more detailed overview of all supported use cases, CLI commands and parameters, and further information.

Verify CFG6 Script File

This section describes steps for verifying migrated CFG6 Automation Interface script files.

  1. Open your CLI.

  2. Navigate to the CFG6 installation directory.

  3. Run dvcfg-b.exe automation run -t <script task name> -l <path to parent directory of script file> -b <path to BSW Package> -p <path to CFG6 DaVinci Project> to start the Automation Interface script execution for the specified script task.

  4. If the execution of the compiled CFG6 script file fails (see CLI status logs of the script execution), follow the error logs to fix your script code and re-run the script execution once more.

CFG6 CLI Help
Run dvcfg-b.exe -h for a more detailed overview of all supported use cases, CLI commands and parameters, and further information.