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
2
votes
1 answer

How to permanently change an UCM activity name?

I wanted to re-name my activity name from cleartool command-line using the commands $ cleartool lsact 2016-04-14T17:10:17+05:30 foo_eg1 adam "foo_eg1" $ cleartool rename activity:foo_eg1@/vobs/fw-ucm activity:bar_eg1@/vobs/fw-ucm Renamed…
Inian
  • 80,270
  • 14
  • 142
  • 161
2
votes
3 answers

Is "re-cycling" a ClearCase dynamic view without side-effects, and if not, how to rename view?

One of the shops I'm working at relies on dynamic views in ClearCase. The established norm has been to create a new view for each project effort. Over time I've found that I've only needed to have one or two views concurrently active. I've taken…
David J. Liszewski
  • 10,959
  • 6
  • 44
  • 57
2
votes
1 answer

Cleartool commands not working using Java processbuilder

I am trying to execute cleartool commands from batch script using Java ProcessBuilder but it is getting stuck at rebase command [startview command is executed successfully (ERRORLEVEL = 0)] When I try using Runtime.exec with command array…
A K Malik
  • 31
  • 3
2
votes
2 answers

ClearCase - How lock a file only on a specific branch

Can someone to point me to lock a file only on a specific branch in clearcase? Note that i want the same file to be modified in all other branches that other teams working on... Locking the branches as appropriate might help.But it does not sound…
2
votes
1 answer

Code Review - Clearcase - How to get a list of files a user modified since another label?

I'd like to create a dynamic view that only shows the files a user created/modified for a particular label. Right now, I am listing all of the files in the label and comparing that with the previous label. If I have to use cleartool to find the…
Walter White
2
votes
1 answer

How to get unique changeset using cleartool command?

I am trying to get the changeset of an activity. "cleartool lsactivity -l Build-Activity.1278" I have used the above command . But the problem is if a same file has more than one checkin ,it shows all of them and also it shows check-in made in…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
2 answers

Apply two ClearCase labels from a single cleartool find command

Is there a way to apply two ClearCase labels from a command line ( on Windows ) in a single cleartool find command running on a snapshot view ? Meaning when running this simple command I want that 2 labels (REL3 and REL3_NEW) will be applied and not…
Epligam
  • 741
  • 2
  • 14
  • 36
2
votes
3 answers

How to run multiple Unix commands in one shot

I am trying to execute multiple commands in one shot but to my surprise only the first command is getting executed and the rest are skipped. And the command is cleartool setview view1234 ; cleartool setactivity activity456 ; cd…
Thulasi
  • 126
  • 3
  • 19
2
votes
2 answers

Display ASCII graph of Cleartool ls commands

In git it is possible to show an ASCII graph of the log with git log --graph which outputs a commandline graph something like: * 040cc7c (HEAD, master) Mannual is NOT built by default * a29ceb7 Removed offensive binary file that was…
spoorcc
  • 2,907
  • 2
  • 21
  • 29
2
votes
2 answers

CRCLI2002E Unrecognized command: "annotate"

Searched it and some said annotate is not available in rcleartool. I have a web view so i have to use rcleartool instead of cleartool. What are the alternatives to get the annotate result on a web view.
Akshay jain
  • 555
  • 1
  • 7
  • 22
2
votes
2 answers

Cleartool annotate command giving error - Not an object in a vob:"java file"

I am new to clearcase and I am trying to generate a blame file using annotate command, but I am getting the following error : cleartool: Error: Not an object in a vob: "App.java" I followed these steps : Created a view in clearcase…
Akshay jain
  • 555
  • 1
  • 7
  • 22
2
votes
2 answers

Unable to perform operation "make branch" in replica of vob

We recently changed mastership of a stream from one site (inh) to another(ies). Things were fine till following error. Now a delivery from child branch to the "moved branch" results in error. Not all merges are problematic. Select directories (or I…
Jayan
  • 18,003
  • 15
  • 89
  • 143
2
votes
1 answer

cleartool rmelem "has checkout"

I have a new branch in which I would like to remove some files. I was able to remove some files with this commands: cleartool co -nc . cleartool rmname cleartool ci -nc . But for some other files I get this error: $ ct rmname…
nowox
  • 25,978
  • 39
  • 143
  • 293
2
votes
2 answers

Is it possible to check in with a different account than the account creating the clearcase view

The background is that our company uses clearcase for version control. But our team prefer git. So we created a clearcase git bridge to automatically convert git check in to clearcase check in. (We indeed have a plan to migrate to the pure git, but…
Landys
  • 7,169
  • 3
  • 25
  • 34
2
votes
1 answer

How to use cleartool find to get files containing a specific string?

I'm trying to search all files in a given branch for a specific string. So far I have cleartool find . -branch 'brtype()' -print This gets all the files in the current directory for branch name "branch-name". But I want to be able to…
wizurd
  • 3,541
  • 3
  • 33
  • 50