我想在 Windows 7 中使用 Clearcase,这样我就可以从 Windows 资源管理器 checkin / checkout 文件。
谢谢,
拉姆
最佳答案
根据这个compatibility matrix , ClearCase7.1+ 在 windows 7 上支持。
安装后,您将能够访问添加到 Windows 资源管理器上下文菜单中的 ClearCase 条目。
但是,64 位版本并不总是显示上述上下文菜单:
见technote swg21251833对于 Windows 7 解决方法:
For Windows 7 and Windows 2008 R2, custom menus can be created as described below.
The advantage of these menus is that they are fast, the disadvantage is that they are static (non-contextual):
REGISTRY EDITS:
This solution contains information about modifying the system registry.
Before making any modifications to the Microsoft Registry Editor, it is strongly recommended that you make a backup of the existing registry.
For more information describing how to back up the registry, refer to Microsoft Knowledge Base article 256986Create a suitable custom menu using the Windows registry such as those listed below.
Note: You may copy the entries below and save in a *.reg file.
Sample registry entries (using Windows Registry Editor Version 5.00):
[HKEY_CLASSES_ROOT\*\shell\ClearCase]
"subcommands"=""
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell]
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd01]
@="Add to Source Control"
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd01\command]
@="C:\\Program Files\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /addtosrc \"%1\""
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd02]
@="Checkout"
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd02\command]
@="C:\\Program Files\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /checkout \"%1\""
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd03]
@="Checkin"
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd03\command]
@="C:\\Program Files\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /checkin \"%1\""
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd04]
@="Uncheckout"
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd04\command]
@="C:\\Program Files\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /uncheckout \"%1\""
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd05]
@="Version Tree"
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd05\command]
@="C:\\Program Files\\IBM\\RationalSDLC\\ClearCase\\bin\\clearvtree.exe \"%1\""
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd06]
@="Properties of Element"
[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd06\command]
@="C:\\Program Files\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe \"%1@@\""
Merge the
*.reg
file (created from step #1) in the Windows registry as shown below:
The ClearCase context menu should now be available:
关于windows - 如何在 64 位 Windows 7 上将 Clear Case 与 Windows 资源管理器集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5894889/