How to open a dynamic view in clear case with a given config spects using command prompt?

前端 未结 1 1744
别跟我提以往
别跟我提以往 2020-12-04 03:31

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

相关标签:
1条回答
  • 2020-12-04 04:02

    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.

    0 讨论(0)
提交回复
热议问题