Search code examples
clearcase

Files getting removed on stream recommendation for a baseline


Post delivering the changes a baseline is created after which when we recommend that baseline using the below command

ct chstream -recommended streamName

The following files got removed... could someone suggest how to avoid these files from being removed.

ct: Warning: Removing component "shared" from the stream's recommended baselines might prevent
streams from rebasing -recommended, since they might have changes in the dropped component.
ct: Warning: Removing component "lsba_build" from the stream's recommended baselines might prevent
streams from rebasing -recommended, since they might have changes in the dropped component.
ct: Warning: Removing component "lsba_pkgtool" from the stream's recommended baselines might prevent

Solution

  • That message should occurs when there is a composite component present in the stream.

    Check "right-click on the stream" + "Edit baseline dependencies": if you see a component with a '+' (which can be unfolded), then you have a composite component (for defining composite baseline)

    Its list of dependent components must match the list of the components present on the stream, or any "recommended baseline" will drop the components of the streams which are not listed in the dependencies of that "composite component".