Questions tagged [clearcase-automation]

The ClearCase Automation Library (CAL) is a COM component that provides access to ClearCase functionality from Automation compatible scripting languages and COM clients.

The ClearCase Automation Library (CAL) (referred to as CAL) provides a set of COM interfaces to ClearCase on the Windows 32-bit platforms. These interfaces are intended both as an integration platform and also as an API that can be used to extend or customize ClearCase. CAL can also be used to develop stand alone applications, write scripts, or embed macros in other applications that interact with ClearCase on some level.

Homepage

44 questions
3
votes
1 answer

branching from multiple files in clearcase

I have around 5000 files for which i have to create a branch(say my_branch) from main branch,checkout those files,check in and then apply label. Its practically impossible to seperately create branch for each file and do the other steps. There is a…
2
votes
2 answers

Powershell to do Clearcase checkin ,checkout,find command?

How to do check-in /check-out /Find and etc operation in Clearcase UCM using powershell. Is there any way custom cmd-lets are available for this?
2
votes
1 answer

How to do code merge from one branch to another in ClearCase

I an new to ClearCase and started studying the ClearCase documentation. UseCase : I have two branches - 'Branch_A' and 'Branch_B'. I need to merge all my changes from 'Branch_A' to 'Branch_B' I won't be able to use the ClearTeamExplorer, so only…
2
votes
1 answer

Java ClearCase Update on a HTTPS Server

I am trying to automate ClearCase, so I can do automatic building. The first step is to update a view by script. I am trying this with the following Java code: StpProvider provider = (StpProvider) ProviderFactory.createProvider( …
2
votes
2 answers

ClearCase - How lock a file only on a specific branch

Can someone to point me to lock a file only on a specific branch in clearcase? Note that i want the same file to be modified in all other branches that other teams working on... Locking the branches as appropriate might help.But it does not sound…
2
votes
1 answer

How to get unique changeset using cleartool command?

I am trying to get the changeset of an activity. "cleartool lsactivity -l Build-Activity.1278" I have used the above command . But the problem is if a same file has more than one checkin ,it shows all of them and also it shows check-in made in…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
1 answer

C# script for searching the file in Clearcase Vob

I have a file name myfile.txt in my desktop and I want to: check whether this same file name is present or not in my ClearCase vob and if present, then I want to read the file data without checking it out. I want to write a script for that in…
Raj
  • 33
  • 1
  • 1
  • 8
2
votes
1 answer

create and recommend clearcase UCM baseline

I am in need of a script(Batch) which is suppose to create a baseline and recommend it on all components. Please help if anybody have it. I am using following commands cd M:/view_name ct mkbl -all -full -ident -c "baseline comment" baseline_name…
user3232823
  • 1,867
  • 3
  • 18
  • 27
2
votes
1 answer

ClearCase Checkin Message

In ClearCase GUI, when I tried to check-in, an empty comment field will be shown, which I can fill in check-in messages. Is it possible to set template for this message? For example, when the team need to checkin, below message will be shown, and…
foolhunger
  • 345
  • 2
  • 12
2
votes
2 answers

Automatic build with clearcase

Is there any way to build for multiple targets using the ClearCase Automation Layer or maybe by creating a perl script? I would like to automate the process of building for both Linux and windows when a project is checked in. Any inputs would be…
Q-bertsuit
  • 3,223
  • 6
  • 30
  • 55
1
vote
1 answer

clearcase baseline_shell script

I am running all ClearCase commands in shell script and every command is redirecting output to a file: cleartool diffbl -act -ver label1 label2 >& data.txt cleartool diffbl -baselines label1 label2 >& data.txt cleartool diffbl -elements label1…
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

Create ClearCase View using CAL

I'm trying to create a new view in CAL. I know that I can use the IClearTool interface to set up the view via an appropriate command line, but am wondering if there is also a way to do it via the IClearCase interface. The documentation suggests that…
Simon Richter
  • 28,572
  • 1
  • 42
  • 64
1
vote
1 answer

Find local copy of files in snapshot view

I'm using the ClearCase Automation Library (CAL) in a tool that helps me keep track of unintegrated changes; now I'd like to extend the tool so I can also make checkins through it. For this feature, I need to find the local copy of a Snapshot View.…
Simon Richter
  • 28,572
  • 1
  • 42
  • 64
1
vote
1 answer

ClearCase equivalent for git - checkout branch, commit and push code

In Git, for pushing our code to the new branch we do the following steps: Checkout the new branch Make changes in it Commit the code to the branch with commit message Push the code to the branch What is the equivalent for it in ClearCase? It is so…
1
2 3