1

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).

einpoklum
  • 118,144
  • 57
  • 340
  • 684

1 Answers1

0

Also, I don't want to replace everybody's diff tool, just mine

That points out to a Unix client, where you want to open a Unix diff tool different from xcompare (without using the command-line tool cleardiff or cleartool diff).

You would still need to modify the ccase-home-dir/lib/mgrs/manager-name , with ccase-home-dir refering to both the Rational ClearCase installation directory).

The goal is to replace the executable of the line text_file_delta xcompare ../../bin/cleardiffmrg by 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).

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250