gpt4 book ai didi

merge - 如何将Beyond Compare与ClearCase集成在一起?

转载 作者:行者123 更新时间:2023-12-03 11:50:18 27 4
gpt4 key购买 nike

我想将Beyond Compare与ClearCase集成在一起,以便可以将其用于差异文件和合并文件,而不是ClearCase提供的糟糕工具。

有人有执行此集成的说明吗?

最佳答案

如我的previous answer中所述,只需修改位于以下位置的 map 文件:

# 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

Each map line has 3 parts: the CC filetype, the CC action, and the application.

In your case, find the section in the map file for text_file_delta file types.
There you will find lines for CC actions compare, xcompare, merge, and xmerge.



Use BeyondCompare:
text_file_delta xcompare C:\Progra~1\Beyond~1\bc2.exe  

Beyond Compare 3支持所有CC Action :
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”, this page明确提及

To use Beyond Compare 2, only change the xcompare line of the map file.
Overriding compare, merge, and xmerge is not supported.
A helper that improves BC2's support is available here.



请注意,之前的操作仅适用于ClearCase,而不适用于CCRC(ClearCase远程客户端)

This technote说明了如何更改CCRC的XML差异/合并工具( KDiff3,但您可以将其改编为BeyondCompare ):

Change directories to the CCRC installation location > plugins > com.ibm.rational.clearcase.compare_merge.<os>_<ccrc ver>,
Where <os> is the name of the operating system bits used and <ccrc ver> is the latest version of the CCRC update applied on the client.

On Windows

  • CCRC 7.1 Default: C:\Program Files\IBM\IMShared\plugins
  • CCRC 7.0 Default: C:\Program Files\IBM\Rational\ClearCase\CCRC\plugins\

Example:


com.ibm.rational.clearcase.compare_merge.win32x86_7.0.1.CU02

  • Copy the KDiff3 executable from its installation path to the com.ibm.rational.clearcase.compare_merge.<os>_<ccrc ver> directory
  • Rename the ccrc_xmldiffmrg.exe to ccrc_xmldiffmrg_orig.exe
  • Rename KDiff3.exe to ccrc_xmldiffmrg.exe
  • Close and reopen CCRC


CCRC问题:

When updating CCRC, the plug-in directory com.ibm.rational.clearcase.compare_merge.<os>_<ccrc ver> will change.
The steps above will need to be run again in the new plug-in directory.

Note: You can control when the updates occur by preventing CCRC from looking for updates automatically.
Click Window > Preferences > Install/Update > Automatic Updates and disable automatic updates.

关于merge - 如何将Beyond Compare与ClearCase集成在一起?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3297834/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com