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

Need to make changes to repository structure

I need to log in to a clearcase repository via command line and make some basic changes. Do I need to use cleartool for this, or can I log in via putty ?
blue-sky
  • 51,962
  • 152
  • 427
  • 752
1
vote
2 answers

How to obtain Changeset of an activity?

We are able copy to clipboard changeset of our activities. But often we need to get changeset of our team member's activities. We are able to see it through GUI. but we would like to copy the list of changeset to some text file. Is it possible to…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

How to obsolete all the delivery tasks?

In our project every day there will be lot of deliveries to integration stream. When i am looking at my integration stream through project explorer UI, It has plenty of delivery-XX activities? Can i obsolete them? Is it recommended? How to obsolete…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

how to find checked out files in a clearcase (windows) snapshot view?

On Unix in a dynamic view, I run the following to find checked out files: cleartool lsco -s -cview -me -avobs In a windows snapshot view, this use of -avobs doesn't appear to work. On a vob by vob basis I can run: cleartool lsco -s -cview -me…
Peeter Joot
  • 7,848
  • 7
  • 48
  • 82
1
vote
3 answers

How to find list of files created and modified in a UCM stream?

Whenever developer tries to debug the code they wanted to know list of files created and modified from particular day . I use cleartool find command with created_since , but it finds only the files which are created not modified. How to find both?
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

how to find the list activities delivered to integration stream on a particular day?

We use to take nightly builds irrespective of any files were delivered to integration stream or not. What i would like to do is , find the list of deliveries done on a particular day. If there were no deliveries to integration stream then build will…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

How to prevent checkout for particular elements in clearcase UCM?

In our project we are following agile practices ( Sprint ). So every day nightly build will be done. We are able to ensure the correctness of build till day before formal build. But unfortunately most of the time people are doing some major check-in…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

ClearCase: Stop making baseline if there are checkouts

I'm using cleartool to make baselines in my stream, using cleartool mkbl -full If I have files checked out in my view (in my case, always an oversight), I get the warning cleartool: Warning: There are checkouts in view…
JXG
  • 7,263
  • 7
  • 32
  • 63
1
vote
1 answer

How to find consolidated codecount for UCM component?

We are having 9 UCM Components. we are using some in-build tool to find code count. but we need to use baseline for each component and place it in base clearcase view with those labels in config spec. It's a complex process altogether. I want to…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

How to find modified files in a component using cleartool?

we have created a component in UCM. Many files were changed since but few files were not at all changed after version 1. We can find the list of files using createdsince. but in this case we need to specify the date. Is there any way to find the…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

Find files selected by the config spec with specific properties in Clearcase

I am using Clearcase dynamic view with a complex config spec. I need a command line command to find files where the version selected by the config spec has a specific property, such as: has a specific label does not have a specific label is on a…
petersohn
  • 11,292
  • 13
  • 61
  • 98
1
vote
1 answer

How to get a ClearCase view into a command.com variable

I am writing some command.com scripts to automate some tasks involving ClearCase views. I can use cleartool lsview viewname to determine if the view exists or not. How can I get the output from the lsview subcommand into a variable such that the…
pajato0
  • 3,628
  • 3
  • 31
  • 37
1
vote
1 answer

Why this cleartool command fails from a batch file?

I have run the following command from the command line and it has been succesfull cleartool find . -type f -exec "cleartool describe -fmt \"Filename:%[name]p:type:%[type]p\n" \"%CLEARCASE_PN%"\"" > D:\temp\type.txt I have tried putting the same…
1
vote
2 answers

Clearcase: How to determine all element versions in a VOB that have labels applied after a certain date

I would need a ClearCase query command to be able to find all versions of elements in a ClearCase VOB that have labels applied after a certain date I have tried the following commands, but I hope there is a better way, and also to avoid redundancies…
1
vote
1 answer

How to create view from latest stream on clear case using command

I'm currently working on a power shell script to automate the clear case tool. However, I am new to the new clear case tool. I require the clear case tool commands listed below. Create a view from the latest stream. Mount the created view on the…
max
  • 255
  • 2
  • 7