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

cleartool lsstream -tree get only list of child streams

I want to list get list of child streams under a given stream. cleartool lsstream -tree gets all streams and activities under it. How can print only the stream-names?
Jayan
  • 18,003
  • 15
  • 89
  • 143
1
vote
1 answer

Clear tool command (Clear case) for getting the versions of the files in the directory

In the clear case, I want versions of the file in the particular directory with complete file path. By right click on the file and after that going for properties in the file it is possible to take, but in case in the directory 100 files are there,…
1
vote
1 answer

How to find all branches merged to particular branch

I need to list all branches merged to branch of a particular name. Is it possible in Clearcase?
magnes
  • 139
  • 1
  • 2
  • 11
1
vote
1 answer

How to find new undelivered files for a given UCM "stream"

We use UCM for development. We create streams under streams, like this Question is how to find new files in a given stream. In the example "feat1" would have new files relative to its parent lis1 (lis=local integration stream). The new files…
Jayan
  • 18,003
  • 15
  • 89
  • 143
1
vote
1 answer

UCM dynamicview config spec : excluding all *.xml but include build.xml

I am using Clearcase UCM with a dynamic view. (On linux) In my view there many files ending in .xml. Some of there are "build.xml" files, others are data files. I want to view only "build.xml" files in my view. Following line in config spec …
Jayan
  • 18,003
  • 15
  • 89
  • 143
1
vote
1 answer

unrecognized command: "vob_restore"

We've recently been forced into rebuilding a ClearCase 8.0.0.5 server and restoring VOB snapshots. After installing CC and seemingly getting it up and running, I'm running into issues when I attempt to run vob_restore. C:\>cleartool cleartool>…
J. Bowser
  • 33
  • 3
1
vote
1 answer

unix script for initial setup using ssh, newgrp, cleartool setview: how to avoid subshell?

I have following requirements for a project initial setup need to login to remote server using ssh need to change default group using newgrp need to set the clearcase view using cleartool setview change dir to…
Sumit
  • 21
  • 2
1
vote
2 answers

How to avoid the rebase command in clearTool popups a screen?

I am trying to rebase a baseline using this command in ClearTool: rebase -bas [baseline_code] However, after this command, a screen pop up with this question: Do you wish to name the Deliver/Rebase activity (if no, press Enter or Cancel to use the…
MBurgos
  • 43
  • 5
1
vote
1 answer

Allow the readonly access in a VOB for all users regardless of the ownership property

Allow the readonly access in a VOB for all users regardless of the ownership property of the user and the VOB.
pindare
  • 2,382
  • 6
  • 21
  • 24
1
vote
1 answer

ClearCase - Get all elements where two labels are not equal

When we start working on a new release we usually put a new label, for example REL2, on all elements with label REL1. This means that in the beginning of developing a new release, these two versions are identical. As the development progress and…
Paul
  • 163
  • 1
  • 11
1
vote
1 answer

How can I use "cleartool merge" to merge from a checked out version on another branch

I have file checked out in a view, on its default branch: /main/pdb8.1/fq05-ae002.4/CHECKEDOUT I have another view which creates a branch off of fq05-ae002.4 called ae002.4-test2. I have the file checked out in that view as…
livefree75
  • 720
  • 8
  • 18
1
vote
1 answer

Use mkattr in perl script (Unix env)?

Clearcase command line mkattr needs to wrap variable $bug_num between single quote + quote + $varible + quote + single quote, like this: cleartool mkattr -replace BUGNUM '"$bug_num"' clearcase_file How to make a call of the command cleartool mkattr…
pindare
  • 2,382
  • 6
  • 21
  • 24
1
vote
1 answer

Creating UCM Component baseline - only for modified components

we have a single application stream with multiple components (UCM Composite baseline) in ClearCase. It has been split like Alpha Primary Component | |___W (Sub component - A application) | |___X (Sub component - B application) | |___Y (Sub…
Java_Sol
  • 83
  • 6
1
vote
2 answers

Error in clearecase wile checking out a file

I have an issue with ClearCase I was trying to check out a file from the dir by using ct co -nc file name, but I am getting the following error: cleartool: Error: branch type "test1" not found in VOB "/dir/file" and no global type definition can be…
1
vote
1 answer

Add line to ClearCase config

I am running a job on Jenkins which is used to create a view on ClearCase and the ClearCase view creates the default config spec. I want to edit the config spec by adding some more lines to it but I don't want to edit it manually every time. So I am…
rohit
  • 1,329
  • 2
  • 8
  • 10