问题
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!
回答1:
That would be using:
- cleartool mkview
- followed by 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.
来源:https://stackoverflow.com/questions/9357569/how-to-open-a-dynamic-view-in-clear-case-with-a-given-config-spects-using-comman