简体   繁体   English

为什么Clearcase Explorer不会对我的XML文件产生差异?

[英]Why Won't Clearcase Explorer Diff My XML Files?

I have a situation in Clearcase where I right click to find checkouts and then right click any xml. 我在Clearcase有一个情况,我右键单击查找签出,然后右键单击任何xml。 When I choose "Compare with previous versions", it just pops up with an "XML Diff Merge - Comparing" window that stays minimized in my taskbar. 当我选择“与以前的版本比较”时,它会弹出一个“XML Diff Merge - Comparing”窗口,该窗口在我的任务栏中保持最小化。

Strangely enough, it doesn't have this problem with Java files, just the XML ones. 奇怪的是,它没有Java文件的问题,只有XML文件。 Does anyone know how to fix this? 有谁知道如何解决这一问题?

We have had the same problem. 我们遇到了同样的问题。 How to fix it: Open regedit.exe and delete the whole branch HKEY_CURRENT_USER\\Software\\Atria\\ClearCase\\CurrentVersion\\XML Diff Merge . 如何解决此问题:打开regedit.exe并删除整个分支HKEY_CURRENT_USER\\Software\\Atria\\ClearCase\\CurrentVersion\\XML Diff Merge

Restart ClearCase Explorer . 重启ClearCase Explorer

The previosly deleted regestry key/branch will be re-create with default values. 将使用默认值重新创建先前删除的regestry key/branch

Then the merge window is visible again. 然后再次看到合并窗口。

XML files are managed by a different type manager . XML文件由不同的类型管理器管理
That explains the difference between a text file ( .java ) and an xml one. 这解释了文本文件( .java )和xml文件之间的区别。

Depending on the size, structure or encoding, the ClearCase xml diff tool can hang (or crash) 根据大小,结构或编码,ClearCase xml diff工具可能会挂起(或崩溃)

As detailed in " Any way to use a custom diff tool with cleartool/clearcase? ", the diff tool for xml file ( xmldiffmrg ) is declared (and can be changed in ) " C:\\program files\\rational\\ClearCase\\lib\\mgrs\\map " 详见“ 任何使用带有cleartool / clearcase的自定义diff工具的方法吗? ”,xml文件( xmldiffmrg )的diff工具被声明(并且可以更改 )“ C:\\program files\\rational\\ClearCase\\lib\\mgrs\\map

text_file_delta   compare          ..\..\bin\cleardiff.exe
text_file_delta   xcompare         ..\..\bin\cleardiffmrg.exe
_xml2             compare          ..\..\bin\xmldiff.exe
_xml2             xcompare         ..\..\bin\xmldiffmrg.exe

In your case, I suspect the diff works, the windows open, but outside of the screen: 在你的情况下,我怀疑diff工作,窗户打开, 在屏幕外:

cleardiffmrg

Check your registry in HKEY_CURRENT_USER\\Software\\Atria\\ClearCase\\CurrentVersion\\ : you could find a section dedicated to cleardiff, with screen coordinates that you would then be able to reset. 检查HKEY_CURRENT_USER\\Software\\Atria\\ClearCase\\CurrentVersion\\的注册表:您可以找到专门用于cleardiff的部分,屏幕坐标可以重置。


More simply, the OP Phil Cote comments : 更简单的说, OP Phil Cote 评论道

You were right that this was showing up outside the window. 你是对的,这是出现在窗外。
The regedit turned out to be unnecessary. 注册表证明是不必要的。
I did a right-click "move" which made cross arrows appear. 我做了一个右键单击“移动”,它出现了十字箭头。 Then I hit an arrow key and the window just popped up right at my mouse cursor . 然后我按了一个箭头键,窗口刚刚弹出我的鼠标光标
I'm guessing it's one of those silly beginner windows tricks I had never known about til now. 我猜这是我现在从未知道的那些愚蠢的初学者窗口技巧之一。

You can see that process detailed in " Windows 7 rightclick menu from toolbar like ALT-SPACE? " 您可以在“ Windows 7右键单击菜单中详细说明” ALT-SPACE工具栏中详细说明该过程吗?

Just wanted to add that I had to Shift-Rightclick the "XML Diff" task in the taskbar in order to Move/Maximize the window. 只是想补充说我必须按Shift键右键单击任务栏中的“XML Diff”任务才能移动/最大化窗口。 Rightclicking alone did not provide these options. 单击右键不提供这些选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM