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
5
votes
1 answer

Executing an Expect script from different locations

I am trying to run my Expect script from two different locations and it will work with the following Expect executables referenced: My linux home directory (#!/usr/bin/expect) A clearcase view on another server…
Jake88
  • 955
  • 1
  • 19
  • 39
5
votes
2 answers

clearcase to perforce : how to branch?

We are migrating from clearcase to perforce and I have question on branching. In clearcase once I branch (say my_branch) out I can keep committing incremental changes to a file (say xyz.cpp) without being concerned about the main. element *…
Anand
  • 1,122
  • 3
  • 20
  • 33
5
votes
7 answers

SVN to Clearcase Export

I have a client who is rather insistent about using Clearcase. Are there any tools/scripts that would allow my team to work against an SVN repository (or really anything other than Clearcase), but periodically automatically sync back changesets to…
Kent Boogaart
  • 175,602
  • 35
  • 392
  • 393
5
votes
1 answer

How to remove label of a directory and all its contents in clear case?

I have applied a label to directory in clear case recursively. How can I remove all those labels?
ajay bidari
  • 693
  • 2
  • 10
  • 22
5
votes
1 answer

ClearCase - how to use like Git

Of course our organization doesn't have documentation any where. I'm wondering if it's possible to use clearcase in a git-like manner? Meaning, is there a method to branch/fork a specific file? pull request? merge/commit? etc.? Or is there an easy…
Jason
  • 7,612
  • 14
  • 77
  • 127
5
votes
2 answers

Clearcase issue while "add file to source control"

I am facing a following issue while adding a file to clearcase (UCM) --------------------------- Rational ClearCase Explorer --------------------------- Error adding…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
5
votes
1 answer

What's the equivalent in Git to a read-only component in ClearCase?

My company is in the process of changing our version control tool from Rational ClearCase to Git. We have the following development scenario, and we're curious if there's a proper pattern to follow with Git to achieve the same behavior we have in…
jstricker
  • 2,132
  • 1
  • 30
  • 44
5
votes
2 answers

Rename a view in clearcase

Is it possible to rename a clearcase view ? If yes how to do it. I usually give view name based on fix or enhancements that I would make in that view. Once complete I end up reusing that view for some other task. With other SCMs I do not have any…
Kamath
  • 4,461
  • 5
  • 33
  • 60
5
votes
1 answer

Reuse a ClearCase view

I would like to reload a view (which was created previously) instead of creating a whole new one. Two scenarios: 1 - Hard drive crashes and the local view isn't there anymore. 2 - A new laptop is set up with ClearCase. In either (or both) of these…
Rubasu
  • 379
  • 3
  • 14
4
votes
1 answer

What is the difference between Full baseline and Incremental baseline in Clearcase UCM?

I have applied full baseline for my release. for ex. Baseline "MYProj_2.0.0.20". Then testing team found some major issue. To fix that development team has delivered few changes. After completing the build , I have applied the same baseline again…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
4
votes
2 answers

Ignore files to be source controlled by ClearCase

I wonder if there is an equivalent method to git's .gitignore file for ignoring files to be sourced controlled in IBM Rational ClearCase? I do not want to have some files, e.g. eclipse specific files, accidentially added to the source control.
Mathias Åhsberg
  • 387
  • 1
  • 4
  • 13
4
votes
4 answers

ClearCase to SVN migration

Well I have an issue with SVN importer tool for migrating one of the ClearCase VOB which has a huge history ..we thought of doing this by picking up like 10 -15 baseline versions of the code and import it to SVN. So for doing that I think the…
Deepu
4
votes
1 answer

Clearcase protect -chmod +x recursively all *.exe

I am trying to recursively change all .exe in a directory. I did a bit more digging before posting and ended up finding what I needed. Will post with my answer just on case anyone can used this information. Hope that is alright I am new here. …
emptyshell
  • 103
  • 1
  • 13
4
votes
1 answer

How to indent multi-line clearcase comment using cleartool format (-fmt)

Is it possible to re-create standard "desc" command indenting of comments using cleartool format string? Example: cleartool desc outputs something like version "" created by "comment line 1 comment…
user688996
  • 173
  • 7
4
votes
1 answer

Building with Eclipse and Remote System Explorer

First with the background... We have a Linux server that supports multiple projects. The Clearcase server and repository are installed on this Linux server. Different projects require different cross-compilers and libraries, and all of them are…
o.c.
  • 271
  • 1
  • 3
  • 12