如何在64位Windows 7上将Clear case与Windows资源管理器集成

时间:2011-05-05 08:42:27

标签: windows plugins windows-7 clearcase

我想在Windows 7中使用Clearcase,以便我可以从Windows资源管理器中签入/签出文件。

谢谢,

拉​​姆

2 个答案:

答案 0 :(得分:10)

根据此compatibility matrix,Windows 7支持ClearCase7.1 +。

安装后,您将能够访问Windows资源管理器上下文菜单中添加的ClearCase条目。

contextual menu with ClearCase

但是,64位版本并不总是显示上下文菜单:
有关Windows 7的解决方法,请参阅technote swg21251833

  

对于Windows 7和Windows 2008 R2,可以按如下所述创建自定义菜单。

     

这些菜单的优点是速度快,缺点是静态(非上下文)

     

注册编辑:

     

此解决方案包含有关修改系统注册表的信息   在对Microsoft注册表编辑器进行任何修改之前,强烈建议您备份现有注册表   有关如何备份注册表的详细信息,请参阅Microsoft知识库文章256986

     

使用Windows注册表创建合适的自定义菜单,如下面列出的那样。

     

注意:您可以复制以下条目并保存在* .reg文件中。

     

示例注册表项(使用Windows注册表编辑器版本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@@\""
  

合并Windows注册表中的*.reg文件(从步骤1创建),如下所示:

reg file registration

  

现在可以使用ClearCase上下文菜单:

static menu

答案 1 :(得分:0)

它适用于我的机器。

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]
@="ClearCase Explorer"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearexplorer.exe,0"

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd01\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearexplorer.exe \"%1\""

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd02]
@="Find Checkouts"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearfindco.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd02\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearfindco.exe \"%1\""

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd03]
@="Checkout ..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd03\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe  /windowmsg A065 /checkout \"%1\""

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd04]
@="Checkin ..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd04\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /window $activewnd /windowmsg A065 /checkin \"%1\""

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd05]
@="Undo Checkout ..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd05\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /window $activewnd /windowmsg A065 /uncheckout \"%1\""

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd06]
@="History"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearhistory.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd06\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearhistory.exe  \"%1\""

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd07]
@="Version Tree"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearvtree.exe,0"

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd07\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearvtree.exe  \"%1\""

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd08]
@="Compare with Previous Version"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd08\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /diffpred \"%1\""

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd09]
@="Properties of Version"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd09\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe  \"%1\""

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd10]
@="Edit ConfigSepc"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd10\command]
@="cleartool edcs"

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd11]
@="Mount VOB..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd11\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /windowmsg A065 /mount"

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd12]
@="Unmount VOB..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"

[HKEY_CLASSES_ROOT\*\shell\ClearCase\Shell\Cmd12\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /windowmsg A065 /unmount"


[HKEY_CLASSES_ROOT\Directory\shell\ClearCase]
"subcommands"=""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell]

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd01]
@="ClearCase Explorer"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearexplorer.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd01\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearexplorer.exe \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd02]
@="Find Checkouts"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearfindco.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd02\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearfindco.exe \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd03]
@="Checkout ..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd03\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe  /windowmsg A065 /checkout \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd04]
@="Checkin ..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd04\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /window $activewnd /windowmsg A065 /checkin \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd05]
@="Undo Checkout ..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd05\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /window $activewnd /windowmsg A065 /uncheckout \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd06]
@="History"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearhistory.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd06\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearhistory.exe  \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd07]
@="Version Tree"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearvtree.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd07\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearvtree.exe  \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd08]
@="Compare with Previous Version"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd08\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /diffpred \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd09]
@="Properties of Version"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd09\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe  \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd10]
@="Edit ConfigSepc"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd10\command]
@="cleartool edcs"

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd11]
@="Mount VOB..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd11\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /windowmsg A065 /mount"

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd12]
@="Unmount VOB..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\ClearCase\Shell\Cmd12\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /windowmsg A065 /unmount"



[HKEY_CLASSES_ROOT\Drive\shell\ClearCase]
"subcommands"=""

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell]

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd01]
@="ClearCase Explorer"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearexplorer.exe,0"

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd01\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearexplorer.exe \"%1\""

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd02]
@="Find Checkouts"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearfindco.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd02\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\clearfindco.exe \"%1\""

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd03]
@="Properties of View"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd03\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe  \"%1\\\""

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd04]
@="Edit ConfigSepc"
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardescribe.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd04\command]
@="cleartool edcs"

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd05]
@="Mount VOB..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"
"CommandFlags"=dword:00000020

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd05\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /windowmsg A065 /mount"

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd06]
@="Unmount VOB..."
"Icon"="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe,0"

[HKEY_CLASSES_ROOT\Drive\shell\ClearCase\Shell\Cmd06\command]
@="C:\\Program Files (x86)\\IBM\\RationalSDLC\\ClearCase\\bin\\cleardlg.exe /windowmsg A065 /unmount"