Clearcase查找命令的先决条件 [英] Clearcase find command prerequisites
问题描述
我如何使用 cleartool find
来搜索裸露的vob?我必须首先定义一个视图吗?
我通常使用CCRC,在这种情况下,我正在查找某个分支类型的所有文件的列表。
编辑:
本页说:
通常,您可以从
视图中看到目录树中的所有对象。您也可以从一个或多个VOB中的所有对象开始,
,而不管它们在特定视图中是否可见。
我正在寻找关于第二句描述的命令版本的信息。
不能在CCRC中使用cleartool设置。
CCRC(ClearCase远程客户端)是一个轻量级的ClearCase安装程序,与CCRC服务器(与一个完整的ClearCase Vob服务器进行通信)进行通信。
您可以使用 rcleartool,CCRC CLI ,但不包含 find
comnand。
' cleartool find
本身总是用在一个视图中,因为它需要一个路径(至少是一个V OB)。
您也可以从一个或多个VOB中的所有对象开始,而不管它们在特定视图中是否可见。 b $ b
这并不意味着你可以在视图之外使用cleartool find。
给大量的例子是:
- SAMECS查找示例 ibm.com/support/docview.wss?uid=swg21124425rel =nofollow> IBM其他查找示例
SAMECS链接和cleartool手册页是明确的:
-avobs
默认情况下,
find
以所有元素,分支和在$快照视图中,find -avobs
发出一个警告如果在本地主机上安装的所有VOB所有的事情d VOBs尚未加载到视图中。
此选项取决于MVFS,并且在不支持动态视图的主机上被忽略。
您必须处于查看上下文以使用find-avobs
。
如果CLEARCASE_AVOBS
EV为设置为冒号分隔的VOB标签列表(在UNIX中;在Windows中,列表项必须用分号隔开),则使用这组VOB。简而言之,要访问任何vob内容,必须将它们加载(快照 view )或挂载(mount)(快照 view 动态的视图)。在这两种情况下,即使查找不受视图配置限制(特别是在-avobs
选项的情况下),仍然需要一个视图来运行cleartool找到
。How do I use
cleartool find
to search a bare vob? Must I always first define a view?I typically use CCRC and in this case I am looking for a list of all files of a certain branch type.
EDIT:
This page says:
Typically, you start with all objects in a directory tree as seen in your view. You can also start with all objects in one or more VOBs, regardless of they are visible in a particular view.
I'm looking for information on the version of the command that the second sentence describes.
解决方案You cannot use cleartool in a CCRC setting.
CCRC (ClearCase Remote Client) is a light-weight ClearCase installation which communicates with a CCRC server (which, in turn, talk to a full ClearCase Vob server).You can use rcleartool, the CCRC CLI, but it doesn't include a
find
comnand.'
cleartool find
' itself is always used in a view, because it needs a path (to at least a Vob).You can also start with all objects in one or more VOBs, regardless of they are visible in a particular view.
That doesn't mean you can use cleartool find outside a view.
The two pages giving a lot of examples are:
The SAMECS link and the cleartool man page are clear:
-avobs
By default,
find
starts with all the elements, branches, and versions in all the VOBs mounted on the local host.
In a snapshot view,find –avobs
issues a warning if all mounted VOBs have not been loaded into the view.
This option depends on the MVFS and is ignored on hosts that do not support dynamic views.
You must be in a view context to use find–avobs
.
If theCLEARCASE_AVOBS
EV is set to a colon-separated list of VOB tags (in UNIX; in Windows, list items must be separated by semicolons), this set of VOBs is used instead.In short, to access any vob content, they must be loaded (snapshot view) or mounted (dynamic view). In both cases, even though the find is not restricted by the view confi spec (especially in the case of the
-avobs
option), a view is still needed to runcleartool find
.这篇关于Clearcase查找命令的先决条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!