Clearcase 查找命令先决条件 [英] Clearcase find command prerequisites

查看:14
本文介绍了Clearcase 查找命令先决条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 cleartool find 搜索裸 vob?我必须总是先定义一个视图吗?

我通常使用 CCRC,在这种情况下,我正在查找某个分支类型的所有文件的列表.

这个页面 说:

<块引用>

通常,您从目录树中的所有对象开始,如你的看法.您还可以从一个或多个 VOB 中的所有对象开始,无论它们在特定视图中是否可见.

我正在寻找有关第二句描述的命令版本的信息.

解决方案

您不能在 CCRC 设置中使用 cleartool.
CCRC(ClearCase Remote Client)是一个轻量级的 ClearCase 安装,它与 CCRC 服务器通信(反过来,它与完整的 ClearCase Vob 服务器通信).

您可以使用 rcleartool,CCRC CLI,但是它不包含 find 命令.

'cleartool find' 本身总是在视图中使用,因为它需要一个路径(至少到一个 Vob).

<块引用>

您还可以从一个或多个 VOB 中的所有对象开始,无论它们在特定视图中是否可见.

这并不意味着您可以在视图之外使用 cleartool find.

提供很多示例的两个页面是:

SAMECS 链接和 cleartool 手册页清晰:

-avobs

<块引用>

默认情况下,find 以本地主机上挂载的所有 VOB 中的所有元素、分支和版本开始.
在快照视图中,如果尚未将所有已安装的 VOB 加载到视图中,find –avobs 会发出警告.
此选项取决于 MVFS,并且在不支持动态视图的主机上被忽略.
您必须在视图上下文中才能使用 find –avobs.
如果 CLEARCASE_AVOBS EV 设置为用冒号分隔的 VOB 标记列表(在 UNIX 中;在 Windows 中,列表项必须用分号分隔),则使用这组 VOB.

简而言之,要访问任何vob 内容,必须加载(快照视图)或安装(动态视图).在这两种情况下,即使查找不受视图配置规范的限制(尤其是在 -avobs 选项的情况下),仍然需要一个视图来运行 cleartool find.

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 the CLEARCASE_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 run cleartool find.

这篇关于Clearcase 查找命令先决条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆