The macro is used to replace components from a workspace. Components that are not found in the target workspace are ignored.

Attributes

The macro supports the SCM Macro Common Attributes, as well as, its own macro specific attributes. Click on the link for more information on the common attributes.

The following table describes the macro specific attributes for the macro:

Macro Specific Attributes
Attribute Description Required
component Specify the first component to replace. To specify the component, use the component name[@repo], alias, or UUID[@repo]. Additional components can be added with separate arg elements specified first in an embedded additionalArgs element. The default is all. No
source The source of the new components. This item must be of type specified in type. To specify an item, use its name[@repo], alias or UUID[@repo]. Yes
target The target workspace or stream to change. To specify the workspace or stream, use its name[@repo], alias, or UUID[@repo]. Yes
type Source item type. One of: workspace, stream, snapshot or historyRef. Yes

Notes

Examples