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

ClearCase: Query labels with specific attribute value

How can I query all labels that satisfy the list of conditions below? Label is NOT locked or obsolete Label has an attribube My_Attribute containing the value myvalue
karelok
  • 301
  • 2
  • 9
1
vote
1 answer

How to create symbolic link to a file in root folder using cleartool command?

I have a file in root location: M:\My_View\Data.doc I want the same file to be also visible in another folder, pointing to the file that is in the root location, using cleartool commands: M:\My_View\Documents\Data.doc
1
vote
0 answers

How to find list of all files modified by user in all clearcase branches?

I am new to cleartool. I did some changes in .cs files from main latest. I have to copy those changes in particular branch. I have tried this command cleartool find . -all -nvisible -name "*" -version "{created_by(mayur_shingote) &&…
user5377926
1
vote
1 answer

Where do new elements appear when mkelem is used?

My config spec is set up as: element * CHECKEDOUT element * .../BRANCH/LATEST element * baseline -mkbranch(BRANCH) element * /main/LATEST When I make a new element I know it goes along with the rule /main/LATEST. When I do a cleartool ls I can find…
Guerrette
  • 67
  • 1
  • 7
1
vote
1 answer

How to find newly created files in ClearCase

When I check out files I have a new branch for those files. If I create a new file it is not added into the branch until I check the files back in. Before they are checked in the new file is under /Main/LATEST. Is there any way to find all files…
Guerrette
  • 67
  • 1
  • 7
1
vote
2 answers

Has 'find' similar capability as 'ls -visible pname'

I can use "ls -visible pname" to find visible elements under 'pname'. But through 'find', I can NOT find a way to find just visible elements. That is, 'find' will always list hidden elements by the Config Spec also. Does anyone know if 'find' can…
Meng
  • 85
  • 1
  • 4
1
vote
1 answer

How to create a Vob in base ClearCase?

I am using base ClearCase. I want to create a Vob, with a storage location being my system hostename. What is the process to do so?
shiru
  • 11
  • 2
1
vote
1 answer

How to make cleartool tell if source is modified since last baseline

For build logging, I am able to obtain the current stream and last baseline by means of cleartool (as detailed in "How to obtain UCM stream and baseline with cleartool"). But this is only unambiguous if I can also tell that no changes were made…
Christian Madsen
  • 1,688
  • 4
  • 17
  • 30
1
vote
1 answer

Why is my working directory view empty?How to set the working directory view

Why is my working directory view empty? How to set the working directory view Working directory view: ** NONE ** How to set it? [shibanis@linuxserver206 C-T3-P-fad-viewstore7]$ ct pwv Working directory view: ** NONE ** Set view:…
shibu s
  • 41
  • 2
1
vote
1 answer

Linking an existing activity to a new view in same stream (A view of same name was deleted accidentally)

Accidentally I deleted viewA having activity actA. Now I could find the activity actA still existed in the stream. I could again create a view with same name viewA but when I do cleartool lsact it does not list any activity. I am able to do setact…
Vinay Shukla
  • 1,818
  • 13
  • 41
1
vote
1 answer

How to get particular Clearcase file of previous versions

Right now, I have a file called config_1_2_3.xml for current track of my product . In previous track file was of version of config_1_2_2.xml. I am getting the file of version 1_2_2 by doing the below manual steps: Open the version tree and get the…
1
vote
1 answer

Is there cleartool command available to find whether a file is symlink or element?

I am trying to checkout file using Cleartool co command . If a file is symlink it fails as cleartool: Error: Not an element: Due to this my checkout action fails . I want to avoid that. I want to check whether the file is symlink before checkout.…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

cleartool findmerge and label

I am attempting to write a script for Base ClearCase that will find all the files on a given branch and label, and perform a trivial merge of those files to another branch, and then label the newly merged files with a different label. For example,…
Casey Kuball
  • 7,717
  • 5
  • 38
  • 70
1
vote
2 answers

Accessing files in ClearCase through PowerShell

I am trying to copy some files out of ClearCase using PowerShell. I don't need to actually check them out - it's part of a build process, so I just want to be able to grab copies of them. My guess is that I need to use cleartool, perhaps with…
Tom H
  • 46,766
  • 14
  • 87
  • 128
1
vote
2 answers

Cleartool.exe multiple commands

I want to execute multiple commands in the cleartool.exe console, but ; or && doesnt work. Example: cd /myView; ct mkact myActivity Any suggestions to run this? I need to use cleartool.exe