Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integtrate Clear case with Windows explorer on 64 Bit windows 7

I want to use the Clearcase with Windows 7 so that I can check-in / check-out files from windows explorer.

Thanks,

Ram

like image 368
Ram Avatar asked May 05 '11 08:05

Ram


1 Answers

According to this compatibility matrix, ClearCase7.1+ is supported on windows 7.

Once installed, you will be able to access the ClearCase entry added on the Windows Explorer contextual menu.

contextual menu with ClearCase

However, the 64-bit version don't always displayed said contextual menu:
see technote swg21251833 for Windows 7 workaround:

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 256986

Create 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:

reg file registration

The ClearCase context menu should now be available:

static menu

like image 134
VonC Avatar answered Sep 28 '22 02:09

VonC