How do I integrate Beyond Compare with ClearCase?

As mentioned in my previous answer, just modify the map file located in: # up to ClearCase 7.0 c:\program files\rational\ClearCase\lib\mgrs or # 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 … Read more

How can I interact with ClearCase from Perl?

Basically, ClearCase Perl scripting is based on parsed outputs of system and cleartool commands. The scripts are based on a cleartool run cmd like package CCCmd, and used like: use strict; use Config; require “path/to/CCCmd.pm”; sub Main { my $hostname = CCCmd::RunCmd(‘hostname’); chomp $hostname; my $lsview = CCCmd::ClearToolNoError(“lsview -l -pro -host $hostname”); return 1; } … Read more

Proper ‘cleartool mkview’ for ClearCase Snapshot view creation

This is usually due to the albd not running. Actually, it is running, but ClearCase tries to contact the wrong host. Here: Host-local path: Eh40yd4c:D:\Views\battjo6r_view2.vws is highly suspicious. Try: mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws -host Eh40yd4c -hpath \\Eh40yd4c\Views\battjo6r_view2.vws -gpath \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2 That is: hpath = gpath. or, if the first command fails, also (it … Read more

Clearcase Issue [closed]

individual stream for each developer under DV stream WhoĆ¢t???? This is SPARTA! (err… no: madness: this is madness) A stream represents a development effort, not a sandbox for a “resource” (i.e. “a developer”). Resources come and go, development tasks stay. You should have a stream per development line, upon which many developers create their own … Read more

Delete ClearCase Views Script

I mentioned a script a little bit verbose, but which won’t remove any local storage and won’t either clean the CCRC session.dat: nuke_view.pl: you can use it to remove all views from a workstation (which may not be available anymore) cleartool lsview -host myHostname -quick | xargs ccperl nuke_view.pl The -quick option is very important … Read more