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

穿精又带淫゛_ 提交于 2019-12-17 14:58:16

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!