本文介绍了如何在ClearCase中创建某些项目或流的快照视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我想获得一些我可以在clearcase项目浏览器中找到的流或项目的内容。I would like to get contents of some stream or project I can find in clearcase project explorer.推荐答案 2 .. 1 cleartool descr -l project:myProject@\myPVob使用某些grep,您将获得组件(可写或不可写)和策略的列表。with some grep, you have the list of components (writable or not) and policies.如果您只需要流:cleartool lsproj -tree myProject@\myPVob您可以为流重复此操作(以获取子流)You can repeat that for a Stream (to get the sub-streams)cleartool lsstream -tree myStream@\myPVob对于流:cleartool descr -fmt "%[mod_comps]CXp" stream:myStream@\ideapvob对于流的活动:cleartool descr -fmt "%[activities]CXp" stream:myStream@\ideapvob 如果是您想查阅文件(即流引用的每个文件的确切版本),最快的方法是在该流上创建UCM动态视图:If you want to consult the files (i.e. the exact version of each files) referenced by a stream, the quickest way would be to create a UCM dynamic view on that stream: cleartool mkview -tag myView_myStream -stream myStream@\myPVob -stg myStorage使用动态视图,您将没有任何加载规则(因为它是 dynamic 视图)。With a dynmic view, you will not have any load rule (since it is a dynamic view).您只需要安装要查看的VOB You only need to mount the VOB which you want to seecleartool mount \myVob您可以开始浏览文件 M:\myView_myStream\myVob\... 有关快照视图,请参见 为ClearCase快照视图创建正确的 cleartool mkview mkview -snapshot -tag myView_myStream_snap -vws \\mySharedPath\myView_myStream_snap.vws -host myHostname -hpath \\mySharedPath\myView_myStream_snap.vws -gpath \\mySharedPath\myView_myStream_snap.vws myRootDir有关加载规则,请参见:For the load rules, see: 配置规格和加载规则的差异 这篇关于如何在ClearCase中创建某些项目或流的快照视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-25 03:39