clearcase - 使用 WinMerge 作为 XML 文件的 ClearCase 差异查看器

标签 clearcase winmerge

我刚刚安装了 WinMerge 并检查了它的“与 ClearCase 集成”选项。当我在我的 Java 源文件上执行“与以前的版本比较”时,ClearCase 现在运行 Winmerge。但是,当我在 xml 文件上运行相同的命令时,它会打开 xml diff merge。我怎样才能让它打开 Winmerge?

最佳答案

例如参见“How do I integrate Beyond Compare with ClearCase?

你需要修改

# up to ClearCase 7.0
c:\program files\rational\ClearCase\lib\mgrs

# ClearCase 7.1 and more
c:\program files\IBM\RationalSDLC\ClearCase\lib\mgrs

参见 technote swg21256807有关更改 XML 差异/合并类型管理器的详细信息。

For any type manager that uses xmldiffmrg, replace the xmldiffmrg executable with your own.

示例(不是针对您的工具,但您明白了):

_xml2       compare          ..\..\..\..\KDiff3\KDiff3.exe
_xml2       xcompare         ..\..\..\..\KDiff3\KDiff3.exe
_xml2       merge            ..\..\..\..\KDiff3\KDiff3.exe
_xml2       xmerge           ..\..\..\..\KDiff3\KDiff3.exe

Note: The mapfile uses a relative path from its current location to find the executable.
In this example, KDiff3 was installed to the default directory on Windows (C:\Program Files\KDiff3) thus the relative path defined in the map file reflects as such.

关于clearcase - 使用 WinMerge 作为 XML 文件的 ClearCase 差异查看器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9127212/

相关文章:

file - Winmerge-比较2个文件时不显示相同线条的方法?

windows - 安装后如何将 WinMerge 与 TortoiseSvn 集成?

migration - 将clearcase迁移到perforce

clearcase - cleartool lsview 找不到匹配项

clearcase - 如何最好地在 Clearcase 中分支?

python - 比较两个文件并将报告保存在任何其他文件中

version-control - 如何在 ClearCase 查找命令中按名称排除文件?

clearcase - ClearCase 中是否有 RTC 等效的 "Suspend mode"?

comments - WinMerge:如何忽略注释

windows - 在 Windows 中对两个文件执行差异时获取两个文件差异的行号