Questions tagged [cleartool]

Cleartool is the command line interface of IBM Rational ClearCase toolsuit for software configuration management.

Cleartool is the primary command-line interface to ClearCase and ClearCase LT version-control and configuration management software. It has a rich set of subcommands that create, modify, and manage the information in VOBs and views.

What questions should have this tag

Question which are related to automation of clearcase using cleartool commands, integrating DOS batch or ANT/Maven/perl scripts which wish to leverage this utility for calling repetitive tasks in clearcase

Important links for learning more

339 questions
51
votes
11 answers

Any way to use a custom diff tool with cleartool/clearcase?

I'd like to use my own diff when working in a clearcase snapshot view. As far as I can see, there is no way to specify a diff tool when running "cleartool diff", so I was thinking I could run something like "mydiff
chacmool
  • 1,357
  • 2
  • 16
  • 21
18
votes
3 answers

How to list all my check-ins using ClearCase?

Is it possible to get a list of all the check-ins I've made within a given source code directory tree using cleartool? If possible I'd like to see when the check-in was made and the file version. I'm using Windows. Thanks in advance.
John Topley
  • 113,588
  • 46
  • 195
  • 237
14
votes
1 answer

Undo checkout using cleartool

How to undo checkout an element using cleartool command line tool in clearcase?
sarat
  • 10,512
  • 7
  • 43
  • 74
14
votes
1 answer

How to find all checkedout files with ClearCase cleartool?

I'm trying to setup our ClearCase with Hudson for a continuous integration (and deployment later). I finally got a UCM view for the build, but unfortunatly our build process checks out files to store the build number. Now the build broke and the…
cringe
  • 13,401
  • 15
  • 69
  • 102
8
votes
3 answers

Cleartool: How to apply label to files which are in my current view only?

I could not find the proper command to apply a label to files which are in my current view. I have tried the following command: cleartool mklabel -r TEST_LABEL /vob/test/a However, the problem is that this command will apply the "Test_Label" label…
user1096966
  • 103
  • 1
  • 1
  • 6
7
votes
1 answer

Clearcase Delete Directory

I have a directory structure like so: root_dir dir1 dir2 file1.txt file2.txt sub_dir file3.txt file4.txt What is the best way to delete dir2 and all it's sub-elements using rmname? Can I simply do 'cleartool rmname…
Ken Hirakawa
  • 7,831
  • 10
  • 38
  • 49
6
votes
2 answers

Adding files to sourcecontrol on linux using cleartool

I have a file that i want to add to sourcecontrol on linux using cleartool . I've followed the IBM documentation for this, i've tried this: cleartool mkelem testScript.sh I got an error: Can't modify directory "." because it is not checked out. I…
Alex Brodov
  • 3,365
  • 18
  • 43
  • 66
6
votes
2 answers

ClearCase list of files with given label type applied

We currently use clearcase on a project, and there is an HTML file that was generated with clearcase that contains all of the filenames of the files that were included in a label. I am supposed to generate this file with a different label. I know…
scheibk
  • 1,370
  • 3
  • 10
  • 19
6
votes
3 answers

ClearCase: Find files having exactly one specific label and not more

I'd like to find files in ClearCase that are labeled with a specific label but that do not have any other labels set. For example, if I have files labeled like this: file1 LBL_A, LBL_B file2 LBL_A I'd like to have a query that gives me just file2…
Jan
  • 2,480
  • 2
  • 17
  • 19
5
votes
2 answers

ClearCase: Can I hijack a file in dynamic view?

I am working in a dynamic view in Unix platform. I need to hijack a file temporarily and cancel the hijacking later. But the command chmod +w filename is not working. I get the message chmod: WARNING: can't change filename. I can change the…
Raihan
  • 10,095
  • 5
  • 27
  • 45
4
votes
1 answer

How to indent multi-line clearcase comment using cleartool format (-fmt)

Is it possible to re-create standard "desc" command indenting of comments using cleartool format string? Example: cleartool desc outputs something like version "" created by "comment line 1 comment…
user688996
  • 173
  • 7
4
votes
1 answer

What's the syntax to remove a baseline in ClearCase?

It looks like I can remove a just created baseline from ClearCase UCM with a simple command: $ cleartool rmbl p_xxx_main_2_0_3_1 but this gives me the error: cleartool: Error: Unable to find baseline "p_xxx_main_2_0_3_1". cleartool: Error: Unable…
neves
  • 33,186
  • 27
  • 159
  • 192
4
votes
1 answer

cleartool lsview does not find match

I have a very strange error running the cleartool lsview command under UNIX (version 7.1.2.12). The command works in general but for some users (!) it gives the following error message : cleartool: Error: No matching entries found for view tag…
user2606240
  • 641
  • 1
  • 6
  • 20
4
votes
1 answer

How to merge changes from a specific UCM activity from one ClearCase stream to another

This should in theory be quite simple, i.e. merge the changes from a specific UCM activity from one stream to another. I had thought that I might just be able to use the Deliver command in the GUI and then select just the required activity to…
Paul R
  • 208,748
  • 37
  • 389
  • 560
4
votes
1 answer

cleartool: how to write the result from command find to a text file

I am trying to find all the files under gt.BridgeGov branch in my view find \gtGov -all -version "brtype(gt.BridgeGov)" -print This statement works fine and list all the files under branch gt.BridgeGov. I am getting the list on console, but I…
Vivek
  • 233
  • 4
  • 13
1
2 3
22 23