Copying attributes

You can copy attributes from an object to a specified object, a project to a specified project, and from a project to specified subprojects. You can also append attributes from an object to a specified object.

About this task

ccm attr|attribute -cp|-copy attr_names
                   [-append] from_object_spec to_object_spec
ccm attr|attribute -cp|-copy attr_names
                   [-append] [-subproj] [-suball]
                   -p|-project from_project_spec to_project_spec...
-append
Appends the specified attribute values to the specified object. If you do not use this option, any existing values for the specified attributes are overwritten by the new values.
-cp|-copy attr_names
Copies an attribute or set of attributes to a selected set of object or project versions in a single operation. You can use the colon or white space or colon and white space as the separator character if you want to specify more than one attribute name.
from_object_spec to_object_spec
Specifies that from_object_spec is the file from which the attribute is copied and to_object_spec is the file to which the attribute is copied. You can specify one object for from_object_spec and multiple objects for to_object_spec.
from_project_spec to_project_spec
Specifies that from_project_spec is the project from which the attribute is copied and to_project_spec is the project to which the attribute is copied. You can specify one object for from_project_spec and multiple objects for to_project_spec.

If -subproj or -suball is used, the project is applied to to_proj_spec.

-suball
Recursively copies the specified attributes to subproject objects and all members of the specified project. This option applies to to_proj_spec, requires the -p option, and cannot be used with -subproj.
-subproj
Recursively copies the specified attribute or set of attributes to the subproject objects in the specified project. This option applies to to_proj_spec, requires the -p option, and cannot be used with -suball.

Example


Feedback