1

我试图将 Beyond Compare 3 与 clearcase 集成。但它失败了,只是打开了 clearcase 附带的默认比较应用程序。

这是我在 C:\Program Files\IBM\RationalSDLC\ClearCase\lib\mgrs\map文件中提供的以下数据。(我正在使用 clearcase SDLC)。
我也尝试过使用 WinMerge,但它也失败了。可能是什么原因?

text_file_delta     compare             C:\Program Files\Beyond Compare 3\BComp.exe
text_file_delta     xcompare            C:\Program Files\Beyond Compare 3\BComp.exe
text_file_delta     merge               C:\Program Files\Beyond Compare 3\BComp.exe
text_file_delta     xmerge              C:\Program Files\Beyond Compare 3\BComp.exe
4

2 回答 2

1

我也是,修改地图文件没有任何区别。

但是,我使用 Rational ClearCase Explorer 7.0 for Rhapsody 并且 DiffMerge 知道如何处理 Rhapsody 文件。

如果这是您的情况,默认情况下,用于文本文件的 diff 工具是 tkdiff,但您可以在 DiffMerge 中修改首选项(位于 View 菜单下)以使用 BC。

在 CC 资源管理器中执行“查找检查”并将文件(通常是 .cls 文件)与其先前版本进行比较。DiffMerge 打开。进入 View -> Preferences -> TextDiffMerge 并修改这些行:

BaseAwareDiffInvocation: "C:\Program Files\Beyond Compare 3\BComp.exe" $source1 $source2 $sourceBase
BaseAwareDiffMergeInvocation: $BaseAwareDiffInvocation $output
DiffInvocation: "C:\Program Files\Beyond Compare 3\BComp.exe" /readonly $source1 $source2
DiffMergeInvocation: "C:\Program Files\Beyond Compare 3\BComp.exe" $source1 $source2 /mergeoutput=$output

单击确定。然后在类中查找修改过的方法,并在 ItsBody 行上启动“Diff Text”。你应该做生意!

于 2012-06-20T13:53:11.407 回答
0

这看起来不错,详见“如何将 Beyond Compare 与 ClearCase 集成? ”。

所以它仍然可能失败的一个原因是您尝试区分的文件的类型管理器不是“text_file_delta”。
您可以通过在 ClearCase 资源管理器中文件的上下文菜单上选择“元素属性”来检查。

于 2011-06-16T15:57:50.407 回答