I have config spects for a view and I need to create a view in Clear Case using command prompt. Please let me about the commands I can use with some example.
Thanks in Advance!
I have config spects for a view and I need to create a view in Clear Case using command prompt. Please let me about the commands I can use with some example.
Thanks in Advance!
That would be using:
cleartool mkview
cleartool setcs -tag yourDynView pname
, with pname being "a text file whose contents are to become the view's new config spec".For creating a dynamic view:
cleartool mkview -tag yourDynView \\shared\path\to\viewStorage\yourDynView.vws
That will create a dynamic view with a default config spec:
element * CHECKEDOUT
element * /main/LATEST
You will then be able to replace that config spec with any other config spec stored in a file, with the setcs
command.