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

How to find private files in git repo which is equvalent of private files in clearcase/cleartool?

I am using git for scm ofmy C project. What is the command to find all the files which are generated during build of the project like .o and .so files ? What I am asking is same as private files in in cleartool/clearcase.
Chandu
  • 1,837
  • 7
  • 30
  • 51
2
votes
1 answer

Cleartool - How to rebase and leave just one component in the stream

I would like to know if there is a command in cleartool to rebase a specific component and take out the other component that is not necessary? For instance, at ClearCase project, you have the option to rebase the baseline by component, and you also…
MBurgos
  • 43
  • 5
2
votes
1 answer

cleartool not behaving the same between command prompt and from within a C# application

I am attempting to get the list of view privates in a particular directory from within a C# application. I am using the function below to make that call with: ClearCommand = "ls -r -view_only" and directory = @"E:\VobName\sampleDir". It…
JGoforth
  • 83
  • 6
2
votes
2 answers

A Perl system call must send exactly both characters single & double quote ' "

A Perl system call must send the following string to the UnixShell: '"XYZ"' In my Perl script I have used the following command: system("cleartool mkattr -replace ATTRIBUTE '"$attribute"' lbtype:$label"); Everything is well passed to the Shell…
Martin
  • 77
  • 4
2
votes
1 answer

How to obtain previous baseline from stream

I can retrieve latest baseline which is always recommended in my case using following command "cleartool desc -fmt \"%[rec_bls]CXp\" stream:".$SourceStream."\@\\".$pvob I want to retrieve second latest baseline.Is it possible to obtain previous…
A.Learn
  • 158
  • 14
2
votes
1 answer

How to change configspec of a dynamic view in clearcase for a specific track

I am new to IBM ClearCase. I have a dynamic view with named "current_view". I am able to set it to the default config spec with the below command. cleartool setcs -tag current_view -default . But now I am trying to set it into specific track. So…
Abinash
  • 37
  • 10
2
votes
2 answers

Clearcase Linux Commands on Symbolic Link to Snapshot View

I would like to be able to use cleartool commands on files that are symbolic links to files in a snapshot view on linux. >cd /my/build/area/ >ls -l file.c lrwxrwxrwx 1 sword none 123 Jun 19 16:57 file.c -> /my/snapshot/view/file.c >cleartool…
swordfish45
  • 121
  • 2
2
votes
1 answer

How can I quickly checkin a large number of files in clearcase

I have a large number of files that I am trying to check in. This process needs to be done several times and is time and resource consuming. I am using the follow command to do this: cleartool lsco -cvi -all -s | awk '{print "cleartool ci -c \"
Alex Weber
  • 450
  • 2
  • 16
2
votes
1 answer

In ClearCase, is there a way to find out if a file is locked?

In ClearCase, is there a way to find out if a file is locked without checking out the file?
tejzpr
  • 945
  • 8
  • 19
2
votes
1 answer

How to automate updating a ClearCase view using rcleartool?

I want to do automation of the process of taking latest code from ClearCase. I am able to get latest using rcleartool in cmd successfully. Now, I need to automate this cmd script as well. Can someone please suggest me how should I go about…
TyagiP
  • 51
  • 3
2
votes
1 answer

How to execute multiple mklabel commands in a single session of rcleartool in command prompt?

I am trying to execute multiple mklabel commands in rcleartool from cmd in a batch file. The commands that I am using are like: echo Server URL | rcleartool mklabel Label_Name Object1 echo Server URL | rcleartool mklabel Label_Name Object2 echo…
Hemanth
  • 31
  • 3
2
votes
2 answers

Why Clearcase mkelem infinitely waits in windows?

I am trying to add a file to Clearcase via Cleartool command. I have executed the following command into my "cmd" C:\Users\MyUser\Desktop>cleartool mkelem "Z:\MyApplication\Impl\DataModels\Model\Build.Model.ps1" Creation comments for…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
1 answer

Cleartool only list labeled files of a folder

I have a folder in clearcase, that contains 100+ files, some of them have labels, the others not. I need a fast way to get all labeled files only. Right now i tried using ct ls -short path\to\folder to list all files and then i have used ct lsvtree…
Thomas Richter
  • 833
  • 8
  • 20
2
votes
2 answers

ClearCase - How to Find All Checkins By One User for an Entire PVOB?

I have been asked to find every checkin by one specific user across an entire ClearCase Project VOB since a particular date. How might I obtain this information? I assume it's some usage of the cleartool find command, but I've not yet figured out…
2
votes
1 answer

cleartool startview is not setting up view when i do setcs

I did a cleartool startview then a cleartool setcs on a file but when i do catcs view is not showing. Need to run these on a bash tool so need to work on startview rather then setview.
venkat
  • 21
  • 1