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

Perl system() call failed with return code 65280

I run the perl code below. $retCode = ClearCase($cmd); Works with no error, but it returns 65280 when I run this: $retCode = ClearCase($logcmd); I tried on XP and Windows 2003 server, same result, all with ActiveState Perl v5.14.2. This code…
Alex
  • 180
  • 2
  • 3
  • 10
3
votes
2 answers

how to detect if there is any check in on a stream after a given time

We use clearcase UCM with 15 vobs. We use cleartool lshistory -all -since "time" -nco vob1/ vob2/src/ vob3/tests/ ...many more... to detect changes since last time. This gives correct result, but takes too long on streams with lot of history. Is…
Jayan
  • 18,003
  • 15
  • 89
  • 143
3
votes
2 answers

Display Current Baseline with Cleartool

How can I view the baseline on which the current view is based? I could find information only on how to view the currently recommended baseline for a stream cleartool desc -fmt %[rec_bls]CXp stream:myProject_Int@\myProject_pvob #This gives the…
sonofdelphi
  • 1,986
  • 5
  • 19
  • 25
3
votes
1 answer

rcleartool lsactivity does not have -fmt option

I have a script which needs to use cleartool lsactivity -fmt command: $ctoolcmd = "cleartool lsactivity -fmt \"%[headline]p\" $newactivity"; $newheadline = `$ctoolcmd`; Unfortunately, I am using CCRC and hence it does not support '-fmt' for…
Ravi
  • 239
  • 2
  • 14
3
votes
1 answer

Automatic merge in clearcase using cleartool findmerge command

I'm writing a script to automate some merge operations and I'd like to do it using this command: cleartool findmerge file_name -fver /main/branch_name/LATEST -merge -log NUL -c "Automatic merge" The thing is, sometimes I get this message and I have…
epzee
  • 568
  • 8
  • 22
3
votes
2 answers

Clearcase findmerge producing no output

I am trying to merge my development branch with the parent branch to the one I am working in. I do not have graphical ClearCase, I only have the command line. I am using Solaris-10. When I do lsvtree on the file, the last 3 results I see…
bk_32
  • 483
  • 1
  • 4
  • 17
3
votes
2 answers

How can I find all elements on a branch with version LATEST that has no label applied?

As the title said: I would like to find all elements that are on a branch (e.g. DEV_BRANCH) with LATEST version but that has not yet had any label applied to them. I know how to find elements that does not have a particular label applied (as…
Micke P
  • 43
  • 1
  • 1
  • 4
3
votes
1 answer

How to obtain UCM stream and baseline with cleartool?

For build logging, I need to obtain the current stream/baseline with cleartool, but I am stuck in determining which command will give me this information. How can I make cleartool tell me which stream/baseline I am currently looking at? It is no…
Christian Madsen
  • 1,688
  • 4
  • 17
  • 30
3
votes
3 answers

cleartool list activities since last 7 days

We use ClearCase UCM which has multiple Vobs (10). How to find the activities for past one week? Or list activities between two date ranges?
Jayan
  • 18,003
  • 15
  • 89
  • 143
3
votes
2 answers

How to checkout files from the command line and show UCM new activity GUI if neccessary

I want to checkout some files from a batch script, but since we use UCM checking out files needs to be associated with an activity. Is there an easy way to show the GUI for creating/selecting an activity to associate the checkout with?
Alf
  • 1,518
  • 3
  • 17
  • 21
3
votes
3 answers

clearcase: find -name not allow multiple patterns?

I wanna find *.cs and *.cpp files through cleartool find command. But it failed. cleartool find "M:\test_view\code" -name "*.cs *.cpp" -print Nothing can be found based on above even there are matched files in that folder. How to set multiple…
Meng
  • 85
  • 1
  • 4
3
votes
2 answers

ClearCase: How to find files not labelled with "LB" on CURRENT Version selected by config spec

For example, the current config spec is "element * /main/LATEST". There is a file "A.txt", its current version is 3 and a label named "LB" was applied on its version 2 before. I want a command to query all files which do not have the label "LB" on…
Meng
  • 85
  • 1
  • 4
3
votes
1 answer

What is the Cleartool command to undo check out if it is identical?

I checkout a powershell file and signing it if it is not signed already then check-in back. But my check-in fails as saying identical to predecessor. What is the cleartool command to undo checkout if it is identical to previous version?
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
3
votes
1 answer

Can cleartool make a snapshot view with load rules?

Is there a way to automatically create view with its load rules with cleartool command line? Right now I'm using: 'cleartool mkview' command and after that I am adding each vob as a load rule (wrote a script for that). I wanted to know if there is a…
Sigalit
  • 209
  • 1
  • 4
  • 9
3
votes
1 answer

Finding ClearCase activities with certain attributes

Anybody have any idea how I can do a search for activities that have certain attributes in ClearCase UCM (v8) on Windows? I have tried various permutations of "cleartool find" but everytime I run it I find nothing (or it runs far too long and I have…
ChrisC
  • 1,161
  • 12
  • 26
1
2
3
22 23