When I create views from Clearcase explorer, both development and the integration views get created as snapshot

本秂侑毒 提交于 2019-11-29 16:29:29
VonC

May be you have ClearCase LT, which only provides snapshot view ?

As mentioned in the ClearCase mkview help page:

Specifying the kind of view

Default

  • ClearCase: Dynamic view.
  • ClearCase LT: Snapshot view

Anyway, you can try to create your views through command line cleartool:

  • Snapshot:

    cleartool mkview -snap -tag yourView_snap -stream yourStream@\yourPVob -stg aStorage aViewPath

  • Dynamic:

    cleartool mkview -tag yourView -stream yourStream@\yourPVob -stg aStorage

Please note the naming convention (yourView_snap for snapshot view): this is a convention, and it should reflect:

  • your login
  • the name of the stream

More details in this other SO answer.


Also note that an "integration view" is not always made for a "dynamic view": if you make some "integration test" involving some compilation, a snapshot view may be more adapted.

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