The basic command, from cleartool man mkbl
:
cleartool mkbl -view anUCMView aBaselineName
You need a view associated to your target Stream to apply the baseline.
I recommend using the -full
option, in order to create a full baseline (rather than an incremental one by default).
Using a snapshot or a dynamic view for mkbl
shouldn't make a difference, but I like working in a snapshot view, and setting my baselines in a dynamic view (in which I am sure I don't have any pending checkouts).
See:
- "What is the difference between Full baseline and Incremental baseline in Clearcase UCM?".
- "How to apply baseline only to a particular component?" if you need to limit it to one component.
Note: this is for a full ClearCase installation, not CCRC (ClearCase Remote Client).