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 find root[folder] for each component using cleartool?

How to find root folder in which a component is associated? I am able to find it manually through project explorer -> Components-> properties How to do it using cleartool command. I need it as i need to create config spec which can be applied in…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
1 answer

How to describe recommend baseline with pipeline

I am trying to find all the components baselines associated in a composite baseline. I am able to achieve it using following way cleartool desc -fmt %[rec_bls]CXp stream:My_Integration@\My_PVOB (I would save the receommended baselines in some…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
1 answer

Clearcase config spec behaves odd when using setcs command

I have config spec stored in a text file . Following are the content element * CHECKEDOUT element ...\lost+found\... -none element \My\... MYF_R2.1.0.9.5179 element \My\... My_2.1.0.13.4875 element \My\... MyComponents_8_8_2011.6859 element \My\...…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
2 answers

How to verify view's occurence before creation

I created a view using cleartool command. cleartool mkview -tag code-count-view -nsh $ccViewspath+$ccViewName But as it is added as part of script while executing next time , i am facing issue says that view exists already How to verify whether…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
2 answers

How to filter the baselines(UCM) alone from describe command?

As we are having many components , I am trying to describe all the baselines using following command cleartool describe -l baseline:Baseline_2.1.0.13@\My_PVOB It provides output like follows "Build 13" master replica: My_PVOB@\My_PVOB owner:…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
2 answers

How to find list of files in changeset(Clearcase UCM) which are not delivered?

In Clearcase UCM When we are delivering an activity to integration stream, it list all the files to be delivered. But is there any way to find the list alone instead of doing real delivery? If i look into change set it has all the files which were…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
2 answers

Powershell to do Clearcase checkin ,checkout,find command?

How to do check-in /check-out /Find and etc operation in Clearcase UCM using powershell. Is there any way custom cmd-lets are available for this?
2
votes
2 answers

List the latest baseline of a component in a UCM stream one by one

I need to list the latest baseline for each component in a clearcase UCM stream one by one. I am aware of the "%[latest_bls]p" option used with -fmt . The problem is that it lists all the latest baselines for all components together. What I need is,…
Pulak Agrawal
  • 2,481
  • 4
  • 25
  • 49
2
votes
1 answer

Cleartool - SubBranches list

I would like to know if they are a specific command for ClearCase which can give me a list of specific sub-branches. For example I have this branches: /main/version_1 /main/version_2 /test I would like the command to output for example the "main"…
Delildor
  • 346
  • 4
  • 13
2
votes
1 answer

ClearCase: are element names view dependent?

I am running the cleartool subcommand diffbl -versions between two baselines. But the output looks different depending on the view I am running the command from. The difference is in the path name of the elements. For example the same file…
Raihan
  • 10,095
  • 5
  • 27
  • 45
2
votes
2 answers

ClearCase: Is it a bug or a feature?

When I run the following code intereactively from bash it works fine. cleartool setview $myview cleartool lsbl But when I put them in a script and try to run the script, it never returns from the first cleartool command. It seems in the interactive…
Raihan
  • 10,095
  • 5
  • 27
  • 45
2
votes
1 answer

Get specific version of unloaded file with cleartool

So I'm writing a script at work where I have to go through all the projects in a ClearCase vob, look for a file and parse some info from said file. Naturally, I wouldn't want to load every single project so I'm using cleartool to retrieve the…
Nait
  • 1,055
  • 1
  • 14
  • 19
2
votes
2 answers

How can I obtain foundation baseline for a component?

I have used below command but it provides all foundation baselines. cleartool descr -fmt "%[found_bls]CXp" stream:myStream@\myPVob Is there any way to get foundation baseline of a single component?
Shivani
  • 219
  • 1
  • 14
2
votes
2 answers

How to use fmt_case in jenkins groovy?

I am trying to use the below command in Jenkins pipeline in Groovy Sandbox. descr -fmt "%[rec_bls]CXp" stream:stream_name@\my_vob While the command runs properly if executed from windows cmd, but throws below error while executing in a Jenkins…
Shivani
  • 219
  • 1
  • 14
2
votes
2 answers

Should I check in my changes before I do rebase in clear tool

I use ClearCase for version control and have been working on few files in my child stream view. Now I want to rebase to a baseline which has all the updates from other developers. So, before I do the rebase, should I check in all my changes even…
sandywho
  • 353
  • 1
  • 7
  • 16