dvcfg-b project generate-swct

Run the Software Component Template and Contract Phase Header generation.

The generation mode is defined in the project settings under swctGeneration.generationMode (SWCT_AND_CP_HEADER, SWCT_ONLY, or CP_HEADER_ONLY).

If no --components option is specified, all available components are generated.

Command

dvcfg-b project generate-swct -p=<file> -b=<folder> [-c=<component>[,<component>...]]... [-a=<module>:<arg>
                                     [,<module>:<arg>...]]... [-r=<folder>] [--keep-temp-files] [-o=<outputFolder>]
                                     [--no-save]

Usage

Run the Software Component Template and Contract Phase Header generation.

Usage: dvcfg-b project generate-swct [-h] -p=<file> -b=<folder> [-c=<component>[,<component>...]]... [-a=<module>:<arg>
                                     [,<module>:<arg>...]]... [-r=<folder>] [--keep-temp-files] [-o=<outputFolder>]
                                     [--no-save]

Description:
Run the Software Component Template and Contract Phase Header generation.

The generation mode is defined in the project settings under swctGeneration.generationMode (SWCT_AND_CP_HEADER,
SWCT_ONLY, or CP_HEADER_ONLY).

NOTE: If no --components option is specified, all available components are generated.

Options:
* -p, --project=<file>                            The .dvjson file of the project.
* -b, --bsw-package=<folder>                      Directory of the BSW package.
  -c, --components=<component>[,<component>...]   Specify the software components for which a Template and/or Contract
                                                    Phase Header will be generated.
                                                   <component> must be the name of the software component specified in
                                                    the project settings.
                                                   If 'from-project' is specified, all components defined in the
                                                    project settings will be generated.
                                                   'from-project' can be combined with other entries (e.g. from-project,
                                                    Comp1).
                                                   If not specified, all available components will be executed.
  -a, --arg=<module>:<arg>[,<module>:<arg>...]    Specify argument(s) for certain generators.
                                                   <module> is either the AUTOSAR definition path (e.g. /MICROSAR/Nm)
                                                    or the shortname (e.g. Rte).
                                                   <arg> could be any custom argument which is defined in the generator.
                                                   Multiple arguments must be quoted to be parsed correctly.
                                                   E.g.: --arg=Rte:DoSomethingSpecial=true
                                                         --arg='/MICROSAR/Nm:Arg1=true Arg2=false'
  -r, --report=<folder>                           Directory to put the reports into.
      --keep-temp-files                           Keep temporary files created during generation.
  -o, --output=<outputFolder>                     Specify the root output folder for the generated software component
                                                    templates.
                                                   If set, all software components' templates are generated directly
                                                    into this folder, regardless of the individual target folders
                                                   configured in the project settings.
                                                   The project settings themselves are not modified.
                                                   If not specified, the target folders configured in the project
                                                    settings are used.
      --no-save                                   Prevent saving the project to disk.
  -h, --help                                      Display the help.

For the meaning of the returned exit codes, see Exit Codes.