Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
813 views
in Technique[技术] by (71.8m points)

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

I do not get the option at all to choose for the views to be snapshot or dynamic. What I would want is the development view to be snapshot and the integration view to be dynamic. Why is it that I am not prompted to let me choose my views to be snapshot/dynamic?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.8k users

...