dvcfg-b project generate-swct-from-files

Run the Software Component Template and Contract Phase Header generation from selected files.

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-from-files -b=<folder> --arxml-files=<arxmlFile>[,<arxmlFile>...]
                                                [--arxml-files=<arxmlFile>[,<arxmlFile>...]]... -o=<folder>
                                                [-c=<component>[,<component>...]]... [-a=<module>:<arg>[,<module>:
                                                <arg>...]]... [-r=<folder>] [--keep-temp-files] [--no-save]

Usage

Run the Software Component Template and Contract Phase Header generation from selected files.

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

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

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:
* -b, --bsw-package=<folder>                       Directory of the BSW package.
*     --arxml-files=<arxmlFile>[,<arxmlFile>...]   Specify the arxml files to be used for module generation.
* -o, --output=<folder>                            Directory to put the generated files into.
  -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 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.
      --no-save                                    Prevent saving the project to disk.
  -h, --help                                       Display the help.

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