更新时间:2023-12-05 18:20:10
是的,对于快照视图,提供了ClearCase视图存储( .vws
目录)与视图本身不在同一工作站上。
Yes, for a snapshot view, provided the ClearCase view storage (the .vws
directory) isn't on the same workstation than the view itself.
唯一需要的文件将目录设为(先前创建的)快照视图的根目录是隐藏文件 view.dat
。
The only file needed to make a directory a root directory of a (previously created) snapshot view is the hidden file view.dat
.
请参阅IBM技术说明 重新生成 view.dat
文件
See the IBM technote "Regenerate the view.dat
file"
和用于恢复该文件的perl脚本(打包在任何ClearCase安装中) view.dat文件是< ClearCase> \etc\utils\regen_view_dot_dat.pl -tag< view-tag-id> <查看根目录路径>
。
And the perl script (packaged within any ClearCase installation) used to restore that view.dat file is <ClearCase>\etc\utils\regen_view_dot_dat.pl -tag <view-tag-id> <view root directory path>
.
示例:
C:\source>ccperl c:\Rational\ClearCase\etc\utils\regen_view_dot_dat.pl -tag aSnapViewName .
rgy_view_uuid: "d17190d381de4ce89757d5465eb41f2c".
creating ".\view.dat".
C:\source>type view.dat
ws_oid:00000000000000000000000000000000 view_uuid:d17190d381de4ce89757d5465eb41f2c
同样,
仅在视图存储 \\shared\path\to\aSnapViewName.vws
时才有效从工作站或新笔记本电脑访问的路径。
Again, that can only work if the view storage \\shared\path\to\aSnapViewName.vws
is in a shared path accessible from the workstation or from the new laptop.