正确的“ cleartool mkview”,用于创建ClearCase Snapshot视图 [英] Proper 'cleartool mkview' for ClearCase Snapshot view creation

查看:133
本文介绍了正确的“ cleartool mkview”,用于创建ClearCase Snapshot视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下午好,

这些天,我似乎被困在CC领域,但我有一个(希望如此)关于正确CC处理的最后一个问题:

Seems like I am somewhat stuck in CC-land these days, but I have one (hopefully) final question regarding proper CC-handling:

使用CC View创建向导时,我可以在计算机上完全正常地创建正确的Snapshot视图,但是当尝试使用mkview命令执行此操作时,它将失败。 ..

When using the CC View Creation Wizard, I can create a proper Snapshot view on my machine perfectly fine, however when trying to do the same with the mkview command, it fails...

使用视图创建向导将结果插入(工作)以下视图:

Using the the view creation wizard results into the (working) following view:

cleartool> lsview battjo6r_view2
  battjo6r_view2       \\Eh40yd4c\Views\battjo6r_view2.vws
cleartool> lsview -long battjo6r_view2
Tag: battjo6r_view2
  Global path: \\Eh40yd4c\Views\battjo6r_view2.vws
  Server host: Eh40yd4c
  Region: CT_WORK
  Active: NO
  View tag uuid:f34cf43f.b4d048df.845d.ed:21:a2:9c:45:ff
View on host: Eh40yd4c
View server access path: D:\Views\battjo6r_view2.vws
View uuid: f34cf43f.b4d048df.845d.ed:21:a2:9c:45:ff
View attributes: snapshot
View owner: WW005\battjo6r

但是,当尝试通过

mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws -host Eh40yd4c -hpath D:\Views\battjo6r_view2.vws -gpath \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2

...我得到以下内容错误:

... I get the following error:

cleartool> mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws -host Eh40yd4c -hpath D:\Views\battjo6r_view2.vws -gpath \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2
Created view.
Host-local path: Eh40yd4c:D:\Views\battjo6r_view2.vws
Global path:     \\Eh40yd4c\Views\battjo6r_view2.vws
cleartool: Error: Unable to find view by uuid:6f99f7ae.6a5d40e4.ba32.37:8e:e5:a4:ed:18, last known at "<viewhost>:<stg_path>".
cleartool: Error: Unable to establish connection to snapshot view "6f99f7ae.6a5d40e4.ba32.37:8e:e5:a4:ed:18": ClearCase object not found
cleartool: Warning: Unable to open snapshot view "D:\SnapShotViews\battjo6r_view2".
cleartool: Error: Unable to create snapshot view "battjo6r_view2".
Removing the view ...

有人知道为什么会这样吗?我缺少什么吗?

Any idea why this is happening? Am I missing something?

推荐答案

这通常是由于albd没有运行。

实际上正在运行,但是ClearCase尝试联系错误的主机。

This is usually due to the albd not running.
Actually, it is running, but ClearCase tries to contact the wrong host.

此处:主机本地路径:Eh40yd4c:D :\Views\battjo6r_view2.vws 非常可疑。

尝试:

mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws -host Eh40yd4c -hpath \\Eh40yd4c\Views\battjo6r_view2.vws -gpath \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2

即:hpath =

,或者,如果第一个命令失败,它(也更简单,可能会起作用)

or, if the first command fails, also (it is simpler and may work)

mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2

希望,ClearCase可以自己确定主机,hpath和gpath。

Hopefully, ClearCase could determine for itself the host, hpath and gpath.

这篇关于正确的“ cleartool mkview”,用于创建ClearCase Snapshot视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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