Below command is to make a view:
ct mkview -tag myview /var/tmp/your-username_dynview.vws
However, how do we know that [myview] is a view to certain stream ?
There's no specified arguments on above command indicating which stream a view is for.
Please read this:
https://publib.boulder.ibm.com/infocenter/cchelp/v7r1m0/index.jsp?topic=/com.ibm.rational.clearcase.tutorial.doc/topics/a_crview_ux.htm
Is it because that above command is for base clearcase view, not for UCM view ?
If so, how it is possible for a view to work with stream or vob in base clearcase ?
I'm confused.
You need to add the -stream
parameter (following cleartool mkview
man page).
ct mkview -tag myview -stream MyStream@/vobs:MyPVob /var/tmp/your-username_dynview.vws
See for instance "How do I create a snapshot view of some project or stream in ClearCase?".
-str/eam stream-selector
Specifies a UCM stream. The view being created is attached to this stream. (Cannot be used with –reg/ion.)
stream-selector
is of the form [stream:]stream-name[@vob-selector]
, where vob-selector
specifies the stream's project VOB.
So the -stream
is the only difference between a base ClearCase view, and an UCM view.