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
1
vote
1 answer

Is it possible to change config spec but only update partially

I have a huge clearcase snapshot view including about 10 VOBs, and it takes more than an hour to update the whole view. Now I'm trying to change the config spec a bit to select several file elements with another timestamp. But by default, changing…
Landys
  • 7,169
  • 3
  • 25
  • 34
1
vote
1 answer

Rebase a stream on linux using cleartool

It's a very basic question, which command shoud i use in linux to rebase my stream, my stream name is : abrodov_RavenApp1.5.5.0_Plat_Mig_1 , it's located in : //home/RND/abrodov/views.
Alex Brodov
  • 3,365
  • 18
  • 43
  • 66
1
vote
1 answer

Querying multiple versions of same file in Clearcase

I would like to write a little batch script, which I would use to collect all of the comments of a file on a specific branch. For example, if I have an ABC.cpp file under the myBranch branch and it has already 3 versions, I would like to have the…
newhouse
  • 1,152
  • 1
  • 10
  • 27
1
vote
1 answer

How can i list the recommended base line in ClearCase

I'm currently writing a script that has to check the recommended baseline of the Integration stream, so the only parameters that I know is the stream name, I'm wondering if there is a way to do that using cleartool on linux (bash script). Here is…
Alex Brodov
  • 3,365
  • 18
  • 43
  • 66
1
vote
1 answer

clearcase multisite-check if there are checkedout files/directory on a stream

We are using clearcase multisite with UCM. How can I check if there are checkout files/directories on a given stream even if the stream is mastered somewhere else? Currently I am using cleartool lsact -long (from a view created on the stream)…
Jayan
  • 18,003
  • 15
  • 89
  • 143
1
vote
1 answer

how to run mkelem command in command prompt

i execuated the mkelem * command through cleartool command prompt but when i run the same command through command promp (cleartool mkelem *) it shows error what can i do the error is V:\Pold_Build\CCAD_REPO\CC_Training\vivekananda\guntur>cleartool…
user3567732
  • 81
  • 2
  • 4
1
vote
1 answer

cleartool to find more than one type of file

I would like to describe all batch AND executable files with a cleartool command. I can do this for one type of file : cleartool find "Z:\PATH" -name *.bat -exec "cleartool describe %%CLEARCASE_PN%%" But I can't find any way to do it for both types…
1
vote
1 answer

Clear Case/CCRC : Command line usage

I am a new user to Clearcase/CCRC : I want to learn using cleartool commands in windows platform for CCRC. I have created a snapshot view using CCRC. I want to search for a first occurence of a string in a file (in all the branches) using cleartool…
vijayanand1231
  • 447
  • 1
  • 7
  • 20
1
vote
1 answer

ClearCase [cleartool] commands error messages and error handling

I'm writing a program that automates some frequently used actions in my development area, this tasks involve running cleartool commands from a shell script (by java runtime). is there any documentation to cleartool/clearcase commands error…
iddqd
  • 1,225
  • 2
  • 16
  • 34
1
vote
1 answer

ClearCase: how to revert a change in my snapshot view?

My problem: I have a snapshot view of my stream. I made some changes locally in this snapshot for testing. Now, I delivered new code to the stream and ran "cleartool update" on my snapshot. However, this did not overwrite the files that I modified…
Monday to Friday
  • 239
  • 5
  • 16
1
vote
1 answer

Can we print only the directories of branch/latest in clearcase?

How can we print only the directories of branch latest in clearcase .
avarma
  • 39
  • 2
1
vote
1 answer

cleartool: Error: "Unable to transfer a file: Permission denied"

I have a stream ClearCase (UCM) stream. The snapshot view update started failing with error. cleartool: Error: Unable to access "C:\views\qe-lis_2014.1\ctools_src\src\chsboot\test\exe\jcechecksumtest.exe.loading": Permission denied. cleartool:…
Jayan
  • 18,003
  • 15
  • 89
  • 143
1
vote
1 answer

How to find which CRs in clearcase modified given lines in source code file (like 'git blame -L' does)?

I have tried to find a way in clearcase, using cleartool to identify CRs - which introduced specific lines in source code for a given file. I'm looking for equivalent or very similar functionality to: git blame -L ,
e_z
  • 60
  • 6
1
vote
1 answer

cleartool command execution in java - runtime().exec

Trying to implement a jenkins plugin, which should display baselines under a specified VOB by using cleartool command cleartool lstpye -kind lbtype -s -inv \VOB but getting errors in command execution process (VOB is the input parameter). Don't know…
Digeek
  • 859
  • 2
  • 10
  • 20
1
vote
1 answer

Clearcase get file from repository

I have file path in ClearCase repository: DWH/MSL/MAPP/META/SP.sql@@/main/10. I have repository https path which is used for Remote Client: http://clearcase.net:12080/TeamWeb/services/Team I need to download the file from the repository. How can I…