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

Equivalent for 'Clone in git' in ClearCase

I am new to ClearCase (just started Today), I used GIT and SVN before for version control. In Git, I generally 'clone' the repository to fetch the code to my local and do the 'checkout' What is the equivalent for it in ClearCase? I read the document…
1
vote
2 answers

Updating a ClearCase Webview via CLI (CCRC)

I am trying to write a script to automatically update a clearcase webview via rcleartool. When I try to update, the following happens: CRMAP7009: Command "Update" failed: CCRC WAN Server: Error: Unable to get view handle. Fehler:…
1
vote
1 answer

is there a way to add a dynamic view shortcut on clearcase via a command line?

I am looking for a way to add a dynamic view shortcut to clearcase, given the view tag and path. I have looked at cleartool commands but didn't seem to find the right one. thanks for the help
zikobrelli
  • 11
  • 1
1
vote
1 answer

I have ant script which works for clearcase. Can any one help me to convert it to GIT

I am migrating one application from clear case to GIT. A build script is written to increment build number and it is written with respect to clear case. And now I have to make it work for GIT. Anyone kindly help me to modify below code to make it…
jon
  • 213
  • 1
  • 5
  • 18
1
vote
1 answer

ClearCase create a web view with CAL or clearTool

I need to create a web view on windows via cleartool or CAL, I know how to do it via ClearTeam explorer but I can't find the exact command that will perform the same with the same parameters I provide via the GUI: Parameters: view tag -…
1
vote
2 answers

Clearcase on new Windows Domain

We have migrated our Windows user PCs to new Domain. For each clearcase user, We need to do below work manually. 1. Albd service account and password to be changed in Service window category. 2. In Registry domain name need to be changed. 3. Old…
user4948798
  • 1,924
  • 4
  • 43
  • 89
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
1
vote
1 answer

how to backup and remove an clearcase activity

I need to remove the code changes of an activity from the child stream, which is shared among two projects. Wanted to remove code changes from Project A but I need to secure not to lose the changes in Project B Can someone suggest me the possible…
Rajendra
  • 11
  • 1
1
vote
1 answer

ClearCase diff in HTML

I am trying to build a simple application that creates a diff of the checked-in source code and its previous version and send it as mail to the list of subscribers. I am stuck with the part where I need to generate the "diff" of the current version…
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
2 answers

Capture Commands running from Clearcase Explorer GUI

Can I capture the commands that are running behind actions done in the GUI -Rational ClearCase Explorer -?
Islam Elshahat
  • 371
  • 3
  • 3
1
vote
1 answer

How to update Clear Case view using .Net?

I want to automatically update my ClearCase view. What kind of call do I need to make in my C# code? Could CAL perform an Update function?
TyagiP
  • 51
  • 3
1
vote
1 answer

clearcase symbolic link file not visible from a snapshot view

I have created a symbolic link (see below) to a version controlled file from a different vob (VOB_II) and the file is visible from a dynamic view whereas it’s not visible from the UCM snapshot view. A.txt --> ..\..\..\VOB_II\SampleDir\A.txt I have…
1
vote
2 answers

python split function to read a string between two forward slashes

I am very new to python, i am trying to write a script which opens a file, read the file do some custom function for me and store it in project location. Meanwhile i am facing trouble to read the file line by line and find the string in between the…
preetham
  • 21
  • 1
  • 6