Questions tagged [clearcase]

ClearCase is a closed-source, centralized revision control system (VCS) from IBM. Among its features: per-file versions & branches; "snapshot" copies of versioned data as well as dynamically-synched views of server contents; replication. Decentralized option: ClearCase Multi-Site, with Vobs (Version Object Base) replication Network access to versioned data: dynamic views. It is currently managed by IBM (after being run by Rational)

ClearCase (a.k.a. Rational ClearCase) is version control system (VCS), available commercially from IBM.

Defining features

  • It is centralized rather than distributed: There is a central server (possibly replicated) holding the authoritative versions of data and their histories; a developer or user employs a client to access data on the central server, and cannot rely on other clients or on itself as an alternative to the server.
  • It is network-oriented: Version histories and other meta-data is not to be found in some hidden subfolder on the local file system, and manipulated through edits to those files. Any interaction with such histories is carried out over connections to the ClearCase server.
  • Versioning happens at file-level rather than repository-level. Thus, changes happen to individual files independently of others; when "viewing" a repository, one in fact sees a collection of different versions of many independent objects.
  • It is closed-source, only available under a restrictive license.

Additional notworthy features

  • Supports two kinds of access to repositories:

    • snapshot view: A local copy of (certain versions of) all files in a repository, pulled once from the server.
    • dynamic view: A dynamically-synched form of access to a repository, where all operations actually happen on the ClearCase server, and all writes and changes impact it.

    the distinction between the two view types is somewhat similar to the POP3 vs IMAP protocols in email, or NFS vs rsync'ed filesystems. In fact, dynamic views are implemented via operating system kernel integration of the ClearCase client.

  • A complex mechanism of choosing which versions and branches of which files are used in a view, through a cascading/fall-through chain of rules called a config-spec (view configuration specification). These also determine when ClearCase is to create new versions of some files, in the same or in a new b ranch.

  • Replication of the centrally-stored versioned data, for better robustness (the "MultiSite" feature), with various supported syncrhonization/replication patterns.

History

ClearCase was initially developed in the early 1990s by Atria software; Atria later merged into Rational Software; and Rational was eventually became a division of IBM, which bought it in 2003. ClearCase development/maintenance is ongoing, albeit slowly: over the past decade revisions have been released once a year or several years.

Online resources

2218 questions
4
votes
1 answer

How to use ClearCase annotate sub-command?

I'm trying to find out how to get a code history report in which I get the file version for each of code line. I don't need to get multiple rows for each code line. only one. The 'annotate' sub-command has many arguments and I can't find the good…
jeff
  • 43
  • 3
4
votes
1 answer

Clearcase multisite vs Gitlab.... anything?

The company I work for uses Clearcase, even though it was EOL'd on the platforms in which we run it years ago. It is ancient and fragile tech, but one thing it does have is a multisite support that allows for the synchronization of air-gapped repos.…
Juan Jimenez
  • 443
  • 4
  • 18
4
votes
1 answer

What's the syntax to remove a baseline in ClearCase?

It looks like I can remove a just created baseline from ClearCase UCM with a simple command: $ cleartool rmbl p_xxx_main_2_0_3_1 but this gives me the error: cleartool: Error: Unable to find baseline "p_xxx_main_2_0_3_1". cleartool: Error: Unable…
neves
  • 33,186
  • 27
  • 159
  • 192
4
votes
4 answers

c# clearcase: How to edit file then check it out and then check it in with the saved changes?

I am trying to programattically edit a checked in file, then check it out and save the changes made while it was check in. And then check it back in with the saved changes: Edit -> CheckOut -> Save -> CheckIn When attempting to save, I am running…
Sam
  • 329
  • 2
  • 8
  • 17
4
votes
1 answer

listing files checked in during last 2 days

In clearcase I want to list the files /file versions checked in during the last 2 days. Can anyone help me with the command or script for the same.
Suresh
  • 41
  • 1
  • 2
4
votes
1 answer

Visual Studio Crashes on taking Version tree from Clearcase

I am running Visual Studio 2008 SP1. While taking Version Tree of any file, Visual Studio Crashes and exits. What to do with this? Clearcase ver 7.1 OS: Windows 7 (x86)
sarat
  • 10,512
  • 7
  • 43
  • 74
4
votes
2 answers

Clearcase Albd service not available

After Windows 10 update , Clearcase ALBD service is not available anymore and i can't seem to find it either, is there a way get back albd service to work instead of uninstall and install Clearcase
AILY
  • 345
  • 2
  • 3
  • 16
4
votes
2 answers

Sub-branching in ClearCase?

When I want to use a branch in CC, I usually put something like this in the config spec: element * .../first_branch/LATEST element * .../Main/LATEST -mkbranch first_branch element * ../Main/LATEST Now, I want to create a branch that is a sub-branch…
Amir Rachum
  • 76,817
  • 74
  • 166
  • 248
4
votes
3 answers

ClearCase: How to find elements that do NOT have a particular label

I'm looking for a ClearCase command that will list all the elements that are visible in my current view, but do NOT have a particular label applied to them. Say for example, most of the elements that are visible in my view have LABEL_X applied to…
barrymc
  • 1,559
  • 2
  • 12
  • 13
4
votes
1 answer

Delete ClearCase Views Script

(This is a repost of a deleted question) (on request) What is the best ClearCase View deletion Script? I found the following on http://www.cmcrossroads.com/forums?func=view&id=44045&catid=31 written by Yossi Sidi below The 2 things this script…
edelwater
  • 2,650
  • 8
  • 39
  • 67
4
votes
1 answer

Java ProcessBuilder.start() taking considerably longer than executing in a terminal

I have a GUI that starts a new thread (getFilesThread) when the user clicks a button. This thread invokes the start() method of an instance of my ClearCaseProcess class below (my organization won't let me use the ClearCase Java API), and when the…
RockManX77777
  • 151
  • 1
  • 7
4
votes
3 answers

Creating a new subdirectory structure in ClearCase?

I'm a ClearCase newbie and up until now have been used to SVN. Therefore, I'm a bit confused on the steps I need to take to create a new directory structure containing multiple files to ClearCase. So, say for example there is an existing directory…
rmcc
  • 3,507
  • 7
  • 29
  • 25
4
votes
1 answer

Comparing views in ClearCase

I have two dynamic views in ClearCase which, as far as I know, are supposed to be "equal". One is supposed to look at the "Main branch" and one at some other branch (let's call it A). I did a merge from A to Main (in the Main view) and for some…
Amir Rachum
  • 76,817
  • 74
  • 166
  • 248
4
votes
2 answers

Clearcase: List labels matching a particular string

I would like to list the available labels matching a particular string applied in the view.
Raj
  • 41
  • 1
  • 2
4
votes
2 answers

ClearCase - find all the files that aren't updated

I'm working with ClearCase on Unix. I am working on a branch, and I want a command that will list all the files which I view on my branch, that have updated versions of them in the Main branch. Is that possible?
Amir Rachum
  • 76,817
  • 74
  • 166
  • 248