I have seen in ClearCase that there is a Snapshot view and a Dynamic view. What are the differences between these types of views (I'm assuming there are only two types of views) and when are the appropriate times to use them?
A snapshot view uses a host's native file system to hold versions of file and directory elements that have been loaded from a VOB. After the snapshot view has been created, versions of file and directory elements must be loaded (copied) into the snapshot view directory.
Dynamic views contain nearly all the artifacts created during the software development process, whether or not they are under Rational® ClearCase® control. These artifacts include the following: Selected versions of elements (actually stored in VOB storage pools)
Snapshot views are based on the local filesystem (like a workspace in Subversion):
cleartool update
' to refresh its contentDynamic views are based on network content: they represent the dynamic (as in "always refreshed") view of a network content (the remote VOB versions selected by the config spec)
M:\
on Windows or /view
on Unix: it is a MVFS mount point: MultiVersion Filesystem)See the second part of this SO answer for a discussion on when to use dynamic views vs. snapshot.
I often use them (the dynamic views) in addition of snapshot views, meaning it is a great tool to just "see" the files (you can for example use a dynamic view to tweak its config spec until you see what you want and then copy those select rules into your usual snapshot view)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With