我刚刚安装了 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 thexmldiffmrg
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/