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
2 answers

Perl Cleartool Accept Statement

I am using the following code to execute the ClearCase statement "Accept" from a perl script. $acceptA = `accept $Component`; After execution, inside my perl script, the value of $acceptA is blank. The text displayed on the screen during…
2
votes
2 answers

Cleartool - List Objects with Their Labels

I want to list all objects (including files and directories) recursively with labels their have. When I run the following command, it writes only Rule. It does not write all labels on any object. cleartool ls -r -l…
akdora
  • 893
  • 1
  • 9
  • 19
2
votes
3 answers

How to make check-outs be unreserved by default using ClearCase command line tools

Is there a way to make cleartool checkouts unreserved by default? Perhaps a ~/.cleartool file or some environment variable? I understand the default can be set on the VOB (or all VOBs), but that option is beyond my control. The ClearCase version…
David J. Liszewski
  • 10,959
  • 6
  • 44
  • 57
2
votes
1 answer

How to extract entire code from clearcase for a given label?

What would be the best way to extract code from clearcase for a give label. Planning to do this in perl first then in GUI based model. Whenever release is made, release label is applied on all files. Once tested, This script should copy/extract all…
maestromani
  • 841
  • 1
  • 9
  • 31
2
votes
3 answers

Can we create Labels in perforce

I am working in a project. We use both clearcase and perforce. As we are working on differnet builds, In clearcase we create a label for each release. Say for release "X", we create a clearcase case "Label X". Label X is having all the latest files…
Sumit
  • 1,953
  • 6
  • 32
  • 58
2
votes
2 answers

cleartool Unable to determine modified elements in "" in stream ""

I am using ClearCase UCM - Multisite (version 7.x) When I rebase a partcular stream, I get following error. cleartool Unable to determine modified elements in "" in stream "" Advancing to baseline "temp2.6922" of component…
Jayan
  • 18,003
  • 15
  • 89
  • 143
2
votes
2 answers

How to find the list of files changed after latest baseline in UCM?

I have to verify whether any elements are changed in a component vob after the last baseline in applied. I was trying to find the cleartool command for that but i got upto "finding the list of files changed after a particular date " . Is there any…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
2 answers

How to get cleartool diff to return to command line while diff viewer is still open?

As described in one of the answers to SO question "Any way to use a custom diff tool with cleartool/clearcase?" I have installed WinMerge and a single diff opens fine in WinMerge based on a command of the form cleartool diff -g filename…
talkaboutquality
  • 1,312
  • 2
  • 16
  • 34
2
votes
2 answers

How to list only the name of the baselines in UCM ClearCase?

If I do: cleartool lsbl -stream stream:mystream@\mypvob That will lists the baselines with details. But I want to list only the name of the baselines. Is there anyway I can do that?
user_new
  • 147
  • 1
  • 2
  • 9
2
votes
2 answers

How to execute cleartool command within perl

Sorry if its to naive. I am wanting to write a simple PERL script that will accept two arguments(Here Commit Labels) which are taken as inputs to cleartool command and provides me with a suitable output. My Code: #!/usr/bin/perl $file1 =…
thepeleton
  • 59
  • 5
2
votes
1 answer

Formatting Clearcase cleartool find output

In the context of a dynamic "default view" when I issue the following commands: $ cd Dir_A/Dir_B $ ct find . -all -nvi -type f -ele 'brtype(my_branch)' -print For each line I get strange output that looks like…
ThomasMcLeod
  • 7,603
  • 4
  • 42
  • 80
2
votes
2 answers

how to uncheckout a checked in directory in clearcase

I have checked out a directory, modified some files and checked in the directory Is there a way to revert back the checked in directory and start with original directory Thanks in advance.
John
  • 2,035
  • 13
  • 35
  • 44
2
votes
1 answer

Including check-in date when finding my ClearCase check ins?

I'm using the code: "c:\Program Files (x86)\ibm\RationalSDLC\ClearCase\bin\cleartool.exe" find . -name "*" -ver "created_by(someuser)" -print > c:\my_checkins.txt to find a list of my check-ins in ClearCase. I'd like to include the date of the…
Todd
  • 2,829
  • 5
  • 34
  • 56
2
votes
1 answer

How to specify -log parameter in cleartool update command

I am trying to automate updating my clearcase view and build the code in a bat file. I want to run the update command and then check the log to verify its success. For this I want to save the update log in a specified location rather than its…
Tapan Nallan
  • 1,762
  • 3
  • 17
  • 37
2
votes
1 answer

Reference for properties that can be passed to -fmt?

The fmt_ccase documentation for cleartool gives this as a formatting option: %[p]p Property value: Displays the value of the property specified in square brackets. If multiple values are returned, they are separated by spaces. However, the page…
Kevin K
  • 9,344
  • 3
  • 37
  • 62