I want to replace the GUI tool ClearCase brings up when I use cleartool diff. I've read:
Any way to use a custom diff tool with cleartool/clearcase?
but the answers there are either about Windows, or they show me shell scripts which I don't know how to use. Or there are kludges like this one.
On the other hand, I do know that ClearCase uses a symlink, e.g. /opt/rational/clearcase/lib/mgrs/directory/xcompare, for the graphical diff'ing. Except that this symlink is owned by root, and I'm not root. Also, I don't want to replace everybody's diff tool, just mine.
So, what can I do to have ClearCase use the tool I want it to?
Note: I'm using GNU/Linux (Devuan 3.0).
That points out to a Unix client, where you want to open a Unix diff tool different from
xcompare(without using the command-line toolcleardifforcleartool diff).You would still need to modify the
ccase-home-dir/lib/mgrs/manager-name, withccase-home-dirrefering to both the Rational ClearCase installation directory).The goal is to replace the executable of the line
text_file_delta xcompare ../../bin/cleardiffmrgby the graphical tool of your choice (kdiff3 for instance)So that would still affect all users of the ClearCase client on that machine (as opposed to Windows, where you are generally the only user).