下午好,
这些天,我似乎有点困在 CC 领域,但我有一个(希望是)关于正确 CC 处理的最后一个问题:
当使用 CC 视图创建向导时,我可以在我的机器上创建一个正确的快照视图,但是当尝试用 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 ...
知道为什么会这样吗?我错过了什么吗?