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
1
vote
1 answer

Find elements on branch and with specific label

Using cleartool, how do I find elements (file or folder): on a specific branch and with a specific label?
Paul
  • 163
  • 1
  • 11
1
vote
1 answer

How can I set the graphical diff tool for ClearCase on Linux, as non-root?

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…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
2 answers

How can I add commands to be executed when setting a view?

Using cleartool, when you cleartool setview, a subshell is opened apparently (you can exit it and leave the view). I was wondering - how can I get more commands to be executed, or settings made, when this subshell starts? Of course, I don't mean…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
2 answers

Unable to determine VOB for pathname

I'm a new ClearCase user (woe is me...), on a Linux machine; I've been told to create a new branch time (to check my changes into), as preparation to creating my own view in which I'll make edits. So, I ran $ct mkbrtype foo -c "this is my new…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
2 answers

Can we use regex with cleartool commands?

I am using below command to retrieve baselines. cleartool lsbl -fmt "%n\n" -comp comp_name@\vob_name -stream stream_name@\vob_name I am searching for a way to display baselines which is numerically equal to/ less than certain given baseline. Is…
Shivani
  • 219
  • 1
  • 14
1
vote
1 answer

How to add components in a stream using cleartool commands?

I want to add components to a stream (development and integration) in clearcase. How do I add the components using commands (cleartool) ?
Shivani
  • 219
  • 1
  • 14
1
vote
2 answers

Clearcase : find all element versions numbered 0 whichever the branch

Using cleartool on a bash command line, I'd like to find for a given element, all the versions numbered 0, whichever the branches holding them. The problem is that, as far as I can say, the "cleartool find" command requires at least specific…
JNM
  • 125
  • 9
1
vote
1 answer

List all of the branches for a specific file/directory in Clearcase

The command cleartool lsvtree -s . is close but it lists more than just branches: X:\main_dev\common>cleartool lsvtree -s…
Derrick
  • 323
  • 2
  • 10
1
vote
2 answers

How to save cleartool diff file

Used rcleartool> diff -g -pred myfile.xml to get the file differences grahically. But is there a way to save this diff file? For me the file save button is disabled. Any hints?
Ravi
  • 239
  • 2
  • 14
1
vote
2 answers

Cleartool commands in CCRC server side?

Am using Clearcase Remote Client(CCRC) and do not have admin rights. Original Clearcase supports 'cleartool' command line interface where as CCRC uses 'rcleartool'. Now, there are some trigger scripts to be placed at the vob level by the admin.…
Ravi
  • 239
  • 2
  • 14
1
vote
1 answer

CCRC command for rmstream

Cleartool has a command cleartool rmstream to delete a specific stream. But in CCRC there is no corresponding command. From GUI also, there is no option to delete the stream. Anyone has any solution to this? Views can be deleted. Similarly, for…
Ravi
  • 239
  • 2
  • 14
1
vote
1 answer

Script to prepare scenarios to test findmerge command

I'm testing a clearcase merge script and I'd like to be able to have another script that could produce these 2 test scenarios every time it runs: Modify 3 files for a trivial merge (100% automatic, no diff needed) Modify 3 files for a conflicting…
epzee
  • 568
  • 8
  • 22
1
vote
2 answers

Equivalent of mkdir -p for cleartool mkdir

UNIX mkdir has the -p flag that creates the parent directories if they don't exist. Is there an equivalent in cleartool for that? Obviously cleartool mkdir foo/bar/ doens't work when foo doesn't already exist.
Stelios Adamantidis
  • 1,866
  • 21
  • 36
1
vote
2 answers

Is it okay to copy my checked out file from the actual directory to my home directory in clearcase?

I am new to clear case. Our organizations code is versioned using clear case and I have to edit some code. The codes are database .ddl file. so 2 .ddl files for a package. I have checked out the pieces of code that I have to use. But I can not see…
ssik
  • 31
  • 2
1
vote
1 answer

ClearCase - how to discard versions .../0 from find output

I would like to get a list of all versions since some date but excluding versions .../0 But this ... cleartool find \frdcc_hyb_sw\ -version "{created_since(20190201) && !(version(.../0))}" -print gives me error: cleartool: Error: Malformed branch…
FoxVK
  • 77
  • 1
  • 7