除此之外,与Clearcase的整合失败

时间:2011-06-16 14:46:57

标签: version-control clearcase beyondcompare

我尝试将Beyond Compare 3与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

2 个答案:

答案 0 :(得分:1)

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

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

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

在CC Explorer中执行“Find Checkouts”,并对文件(通常是.cls文件)与其先前版本进行比较。 DiffMerge打开。进入视图 - >偏好 - > 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”。你应该做生意!

答案 1 :(得分:0)

这看起来不错,详见“How do I integrate Beyond Compare with ClearCase?”。

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

相关问题