下午好,
最近我好像有点陷入了CC工作中不能自拔,但我有一个(希望)最后一个关于正确的CC处理的问题:
当使用CC View Creation Wizard时,我可以在我的机器上创建一个正确的快照视图,但是当尝试使用mkview命令做同样的事情时,它会失败......
使用视图创建向导会生成以下(有效的)视图:
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
我遇到了以下错误:
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 ...
有什么想法为什么会发生这种情况?我漏掉了什么吗?
mkview
"命令输出的任何消息?如果您仍然有错误消息,请将它们作为评论留在我的答案中,我会查看。 - VonC