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
6
votes
4 answers

Gnu make on multiple host machine?

In clearmake there is an option to pass host names so that to run multiple jobs on these hosts but in gmake there is no option to pass multiple hosts although multiple jobs can be passed. I want to know how i can mimic this clearmake functionality?
ankush
  • 63
  • 5
6
votes
3 answers

how to remove a version in clearcase

I want to check out a directory , let's say /vobs/myvob/src/ to add a new file in this directory. But by mistake rather than checked out /vobs/myvob/src I checked out /vobs/myvob/scr/ and even worse checked in it. Then directory scr has a new…
Haiyuan Zhang
  • 40,802
  • 41
  • 107
  • 134
6
votes
2 answers

how to find all the branch type created by one person in clearcase

I created a branch type one month ago , but for some reason delayed to use it until now. But now I just have a vague memory of the branch name but not very sure about it . So I'm wondering if clearcase has the feature that list all the branch type…
Haiyuan Zhang
  • 40,802
  • 41
  • 107
  • 134
6
votes
3 answers

How to find element(s) which are not present in the clearcase recursively?

How to find element(s) which are not present in the clearcase recursively , let us say from project root folder i want to know the list of files which are not part of clearcase. Can some one help me on this?
srinannapa
  • 3,085
  • 8
  • 49
  • 66
6
votes
2 answers

Is Continuous Integration possible with ClearCase?

We are running nightly builds on a Jenkins server and we use ClearCase as a Source Control Management. Since ClearCase is file-centric, files checkin operate one by one. Contrary to SVN or Git (which are repository-centric), modifications by…
6
votes
2 answers

Evil twin problem and subtractive merge

Could anyone explain what is a Evil Twin and Subtractive merge in Clearcase?
Rational Admin
  • 131
  • 2
  • 7
6
votes
5 answers

Is there a way to automate importing projects into Eclipse?

For my current project, every time I set up a new workspace, I need to import hundreds of existing projects scattered in 20+ different directories. Is there a way to automate this step in Eclipse? These projects are all checked into ClearCase.
Kevin Beck
  • 2,394
  • 2
  • 15
  • 27
6
votes
2 answers

ClearCase list of files with given label type applied

We currently use clearcase on a project, and there is an HTML file that was generated with clearcase that contains all of the filenames of the files that were included in a label. I am supposed to generate this file with a different label. I know…
scheibk
  • 1,370
  • 3
  • 10
  • 19
6
votes
1 answer

How can I retrieve a file through Label in Config Spec?

I have labelled a file "Test.java" with a label called "My_Label". When I try creating a view with the below config specs, I am unable to get the file in Clearcase Explorer. element * CHECKEDOUT element * My_Label Could anyone please tell where am…
user1688506
  • 61
  • 1
  • 3
6
votes
9 answers

How to version control the build tools and libraries?

What are the recommendations for including your compiler, libraries, and other tools in your source control system itself? In the past, I've run into issues where, although we had all the source code, building an old version of the product was an…
esilver
  • 253
  • 1
  • 2
  • 8
6
votes
3 answers

ClearCase: Find files having exactly one specific label and not more

I'd like to find files in ClearCase that are labeled with a specific label but that do not have any other labels set. For example, if I have files labeled like this: file1 LBL_A, LBL_B file2 LBL_A I'd like to have a query that gives me just file2…
Jan
  • 2,480
  • 2
  • 17
  • 19
5
votes
2 answers

what is the difference between branch and branch type in rational clearcase

I am new to clearcase and it looks so confusing about branch and branch type and label and label type etc... If i use this command: cleartool mklbtype What it will create, a label or a label type? IBM Rational clearcase…
DevC
  • 7,055
  • 9
  • 39
  • 58
5
votes
2 answers

ClearCase: Can I hijack a file in dynamic view?

I am working in a dynamic view in Unix platform. I need to hijack a file temporarily and cancel the hijacking later. But the command chmod +w filename is not working. I get the message chmod: WARNING: can't change filename. I can change the…
Raihan
  • 10,095
  • 5
  • 27
  • 45
5
votes
4 answers

ClearCase: Is it possible to cancel checkouts not made from your own view?

Can the project manager force cancellation of checkouts of files/directories made in any view/stream/project? How?
Raihan
  • 10,095
  • 5
  • 27
  • 45
5
votes
4 answers

VS2008 and ClearCase : opening solution requests a checkout for no reason

I have a little issue that's causing my automated builds to fall over. When we open a solution recently converted from VS2005 to VS2008 VS through ClearCase requests that we checkout the solution file. If we allow it then it makes no changes anyway…
Alan Mullett
  • 1,106
  • 13
  • 26