Generation Results View

The code-generator Generation Results view shows the result of a DaVinci Adaptive project generation.

Open Generation Results View

The Generation Results view automatically opens after the generation has been started via the generate DaVinci Adaptive Generation…​ command of the Validation and Generation toolbar.

If the Generation Results view has been closed, you can open it again as follows:

  1. Open the menu path Window|Show View|Other…​. The Show View dialog opens.

  2. Select DaVinci Adaptive|code-generator Generation Results in the Show View dialog.

  3. Click Open to confirm your selection.

The Generation Results view opens.

Toolbar

The toolbar of the Generation Results view provides the following features and information:

  • DaVinci Adaptive Project
    On the top right of the toolbar, the name of the DaVinci Adaptive project is displayed for which the generation results are shown. The assigned project can be changed via the Validation and Generation toolbar.

  • check-consistency Run DaVinci Adaptive Validation
    Click this icon to run the generation process for the selected project.
    Unless configured otherwise in the Generator Configuration View, the validation runs with default settings.

  • generate Run DaVinci Adaptive Generation
    Click this icon to run the generation process for the selected project.
    Unless configured otherwise in the Generator Configuration View, the generation runs with default settings.

  • generator-configuration Open Generator Configuration View
    Click this icon to open the Generator Configuration View.

  • validation-view Open Validation Results View
    Click this icon to open the Validation Results view.

  • report Show Report
    Click this icon to open the Generation Execution Report.

  • Generation Results
    Above the Generation Results table, information on the result (successful or error) and the last execution time are displayed.

Generation Results Table

The Generation Results table provides the following columns:

  • Root Object: The Root Object column shows the root node, all root objects, and the used generators in a tree view. The tree view is structured as follows:

code-generators DaVinci Developer Adaptive Code Generation: Root node that contains the result of the latest generation.
tree-view-structure-child-element<Root Object>: Below the root node, all root objects that are selected on the Model Scopes Page of the Project Home are listed.
tree-view-structure-emptytree-view-structure-child-elementcode-generator <Generators>: Below each root object, the used generators are listed. An executed generator may have the following result:

Generation succeeded but no files were generated, since the files have already been generated in a previous run and are still up-to-date.

Generation succeeded and files were generated or updated.
In this case, the node file-set Generated Files is displayed below the generator node which lists all new, updated, or up-to-date files.

Generation failed and no files were created.
In this case, the generator is marked with an error icon.

  • Output: Depending on the result of the executed generation, the Output column shows one of the following icons:

    • error Error: The generation failed.

    • new-generated-file Generated Files: Generation succeeded and files were created or updated.

      If no icon is shown, the generation succeeded but no files were generated.