如何将ClearCase集成进VS.NET 2003的IDE

本文引用自:http://www.dream4ever.org/archive/t-1279.html


DreamLand
> 【电脑技术】 > 〖程序/开发〗 > 【分享】如何将ClearCase集成进VS.NET 2003的IDE

View Full Version : 【分享】如何将ClearCase集成进VS.NET 2003的IDE

wayne
以前自己写的帖子,转过供各位参考
相信很多人在使用VS.NET和ClearCase集成时都遇到了问题
比如:ClearCase配置属性页无法打开
ClearCase工具条没有安装上
一个工程用ClearCase一个用VSS,可是没办法换
下面请看我费了2小时搞出来的解决方案
转载请注明作者和出处

Q1:VS.NET中无法加载SCC属性页
A1:
修改
HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\SCCServerPath
内容为完整得路径

C:\Program Files\Rational\ClearCase\bin\ccscc.dll

Q2:Visual Studio中没有ClearCase的工具条
A2:
1,运行 <clear case>\bin\Integrations\CCVS7Addin\Setup\setup.exe
2, 拷贝<clear case>\bin\Integrations\CCVS7Addin\dlls 下的所有文件
到 <Visual Studio>\IDE 下
3, 在<Visual Studio>\IDE下运行 regasm ccvs7addin.dll
4,导入如下注册表键值

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\AddIns
\CCVS7Addin.Connect]
"FriendlyName"="Rational ClearCase Tools"
"CommandPreload"=dword:00000000
"CommandLineSafe"=dword:00000000
"Description"="Rational ClearCase Additional Tools for UCM and Base ClearCase."
"AboutBoxDetails"=
"Rational ClearCase Additional Tools for UCM and Base ClearCase"
"LoadBehavior"=dword:00000001
"AboutBoxIcon"=
hex:00,00,01,00,02,00,20,20,10,00,00,00,00,00,e8,02,00,00,26,00,\
00,00,10,10,10,00,00,00,00,00,28,01,00,00,0e,03,00,00,28,00,00,00,20,00,00,\
00,40,00,00,00,01,00,04,00,00,00,00,00,80,02,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,80,00,00,80,00,00,00,80,80,00,80,\
00,00,00,80,00,80,00,80,80,00,00,c0,c0,c0,00,80,80,80,00,00,00,ff,00,00,ff,\
00,00,00,ff,ff,00,ff,00,00,00,ff,00,ff,00,ff,ff,00,00,ff,ff,ff,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,a0,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,ba,b0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,a0,\
00,00,00,00,00,00,00,00,00,00,00,f0,00,00,ba,b0,00,00,00,00,00,00,88,88,88,\
88,88,f0,ab,ab,ab,ab,ab,a0,00,00,00,00,8f,77,77,77,77,f0,ba,ba,ba,ba,ba,b0,\
00,00,00,00,8f,77,77,77,77,f0,ab,ab,ab,ab,ab,a0,00,00,00,00,8f,77,77,77,77,\
f0,00,00,ba,b0,00,00,00,00,00,00,8f,77,77,77,77,ff,ff,f0,ab,a0,00,00,00,88,\
80,00,8f,77,77,77,77,77,77,f0,ba,b0,00,00,88,77,88,00,8f,77,77,77,77,77,77,\
f0,ab,a0,00,00,8f,f7,70,77,8f,77,77,77,77,77,77,f0,00,00,00,00,8f,ff,78,08,\
8f,77,77,77,77,77,77,ff,ff,ff,00,00,08,ff,70,00,8f,77,77,77,77,77,77,77,77,\
80,00,00,00,88,80,00,8f,77,77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,77,\
77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,77,77,77,77,77,77,77,77,80,00,\
00,00,00,00,00,8f,77,77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,ff,ff,ff,\
ff,ff,ff,ff,ff,80,00,00,00,00,00,00,88,88,88,88,88,88,88,88,88,80,00,00,00,\
00,00,00,00,00,08,70,00,00,08,70,00,00,00,00,00,00,00,00,00,00,08,f0,00,00,\
08,f0,00,00,00,00,00,00,00,00,00,00,00,80,00,00,00,80,00,00,00,00,00,00,00,\
00,00,00,08,08,00,00,08,08,00,00,00,00,00,00,00,00,00,08,77,78,80,08,77,78,\
80,00,00,00,00,00,00,00,00,08,ff,77,80,08,ff,77,80,00,00,00,00,00,00,00,00,\
08,ff,f7,80,08,ff,f7,80,00,00,00,00,00,00,00,00,00,8f,f7,00,00,8f,f7,00,00,\
00,00,00,00,00,00,00,00,07,77,00,00,07,77,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,ff,ff,ff,ff,ff,ff,fe,0f,ff,ff,fe,0f,ff,ff,fe,0f,\
ff,ff,fe,0f,ff,00,00,00,ff,00,00,00,ff,00,00,00,ff,00,00,00,ff,00,00,00,c7,\
00,00,0f,83,00,00,0f,00,00,00,0f,00,00,00,0f,00,00,00,0f,83,00,00,0f,c7,00,\
00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,f8,f8,\
ff,ff,f8,f8,ff,ff,f8,f8,ff,ff,f0,70,7f,ff,e0,20,3f,ff,e0,20,3f,ff,e0,20,3f,\
ff,f0,70,7f,ff,f8,f8,ff,ff,ff,ff,ff,28,00,00,00,10,00,00,00,20,00,00,00,01,\
00,04,00,00,00,00,00,c0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,80,00,00,80,00,00,00,80,80,00,80,00,00,00,80,00,80,\
00,80,80,00,00,c0,c0,c0,00,80,80,80,00,00,00,ff,00,00,ff,00,00,00,ff,ff,00,\
ff,00,00,00,ff,00,ff,00,ff,ff,00,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,a0,00,00,00,00,00,00,00,b0,00,00,00,\
00,00,f0,ab,ab,a0,00,00,8f,88,f0,00,b0,00,00,00,8f,77,ff,f0,a0,00,70,70,8f,\
77,77,f0,00,00,0f,00,8f,77,77,ff,ff,00,70,70,8f,77,77,77,80,00,00,00,8f,ff,\
ff,ff,80,00,00,00,88,88,88,88,80,00,00,00,00,00,00,00,00,00,00,00,00,07,07,\
00,00,00,00,00,00,00,f0,00,00,00,00,00,00,07,07,00,00,00,ff,ff,00,00,ff,e3,\
00,00,ff,e3,00,00,ff,80,00,00,f0,00,00,00,f0,00,00,00,f0,03,00,00,10,03,00,\
00,00,03,00,00,10,03,00,00,f0,03,00,00,f0,03,00,00,ff,7f,00,00,fe,3f,00,00,\
fe,3f,00,00,fe,3f,00,00

5,打开VS2003 “工具”->“外接程序管理器”
6,选中ClearCase Tools的对构
7,完毕

Q3,我装了Visual SourceSafe和ClearCase,想随意更改当前VS使用的SCC?
A3,
修改注册表
HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\ProviderRegKey
内容可以参考
HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders
下的键值
posted @ 2005-01-27 22:57  一根神棍研古今  阅读(1608)  评论(1编辑  收藏  举报
Web Counter