exportforassembly
Copies the development component (DC) archives (created either during DC build or with the packdcs command) into a folder structure that can be used by the packsca command to create an SCA.
Syntax |
exportforassembly |
Options |
|
-compartment|-c ... |
Compartment of the DC(s) to be packed. |
-buildvariant|-b ... |
Specifies for which build variant the build results are packed. |
-folder|-f ... |
The target root directory where to export the DC archives. Underneath this folder a directory structure is created: <root directory>/<archive type>/<dc vendor>/<dc name> For hierarchical DC subdirectories corresponding to their names are created. |
[-dcname|-n ...] |
Name of the DC to be exported. |
[-dcvendor|-v ...] |
Vendor of the DC to be exported. |
Description |
Copies the DC archives (created either during the DC build or with the packdcs command) into a folder structure that can be used by the packsca command to create an SCA. The command works for compartments with source state only. A development configuration must be already imported or loaded. The DCs to export must be available locally. The DCs should have been packed before. |
The purpose of the command is to copy the DC archives created during the DC build or by means of command packdcs into a folder structure that can be used by the packsca command to create an SCA.
This command requires the name of the compartment and a build variant as arguments.
Besides that, the target root directory has to be specified. Underneath this folder, a directory structure is created that looks as follows:
<root directory>/<archive type>/<dc vendor>/<dc name>
Note that for hierarchical DC names, corresponding subdirectories are created.
As archive types there are currently deploy archives, build archives and source archives.
exportforassembly -c MyComponents -b default -f c:\packing