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

Team Foundation Server branching characteristics, compared to others

What are the branching characteristics of TFS? Early Branching/Heavy Branching If we look at the tools Perforce, Subversion, CVS, for instance, we see that branching is taking a copy of the trunk. It is "early branching" all of the files which…
polyglot
  • 2,031
  • 2
  • 20
  • 28
7
votes
1 answer

Config specs and Load rules difference

What is the difference between Config specs and Load rules in Clearcase? Are both of them edited using "cleartool editcs -tag " command only?
Rational Admin
  • 131
  • 2
  • 7
7
votes
3 answers

ClearCase and Eclipse: How to hide/ignore files?

I'm working with Eclipse and ClearCase and we're facing the problem that there's no "ignore"-feature in ClearCase and we're having regularly checked-in files that shouldn't have been checked in. In Eclipse, I already found the "Ignored Resources"…
B.E.
  • 5,080
  • 4
  • 35
  • 43
7
votes
2 answers

ClearCase wants to merge unchanged files after deliver to alternate target

Using Rational ClearCase v. 7.0.1.1 with UCM, I have a problem here when using ClearCase's "Deliver from Stream to Alternate Target" functionality. Imagine we have one project integration stream and two developer streams A and B derived from it. Now…
Jan
  • 2,480
  • 2
  • 17
  • 19
7
votes
1 answer

Is it possible to list files in a folder sorted by last check-in time in perforce?

I recently moved from ClearCase to Perforce. In CC, I used to sort the list of files in the ClearCase explorer by the last check-in time. Is there any way I can do a similar thing with Perforce ? Ideally, in P4V ? Thanks
fpessoa
  • 839
  • 6
  • 8
6
votes
2 answers

Why can't Perl find my file that is in ClearCase?

This piece of Perl is telling me that a file in ClearCase doesn't exist when it does; $x = "PATH/TO/FILE" if (-e $x) { print "This file exists on the file system"; } else { print "I can't see this file"; } Has anyone seen this before? Some…
Kelvin
  • 725
  • 1
  • 6
  • 11
6
votes
1 answer

How to delete clearcase views created by other users?

My friend who recently left our organisation also left his ClearCase view undeleted. Now we wanted to delete it. I was trying to delete but it did not allow. It said: Unable to remove "\\hostname\viewsharefolder\Viewname.vws" Operation not…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
6
votes
1 answer

I can't seem to get cleartool's find to work on a simple query

Disclamer: I'm very new to Clear Case. I want to find out what files I've modified on a given date. I am using a Snapshot view: ClearCase version 7.1.2.0 (Tue Sep 21 12:01:15 EDT 2010) (7.1.2.D100920) @(#) MVFS version 7.1.2.0 (Tue Aug 10 00:37:25…
Gordon
  • 1,210
  • 5
  • 16
  • 23
6
votes
3 answers

What is the difference in Perl when passing a variable in a regular expression between using $variable and ${variable}

I am reviewing some ClearCase triggers written in Perl. I have noticed that in some regular expressions, variables are passed either straighforwardly or with their names in curly brackets. For example, I have the following line of code in a…
Thomas Corriol
  • 576
  • 7
  • 18
6
votes
5 answers

Recommendation on Tools to migrate from Clearcase to SVN?

I'm on the lookout for tools to migrate from ClearCase to SVN. Ideally would like to get all history information, or as much as can be acquired. Incremental merges would be very beneficial but isn't required.
Scott Markwell
  • 1,091
  • 2
  • 16
  • 33
6
votes
2 answers

ClearCase: Working offline hijacking files, then checking out / merging

I'm looking at a scenario where I have an offline clear case view and I modify files in this view clearing the read-only attribute (hijacking) on the files I modify then several days later I take the view online and need to get my offline changes…
axk
  • 5,316
  • 12
  • 58
  • 96
6
votes
2 answers

How to find Branch name of clearcase view

How can we find the branch name to which my ClearCase view is pointed to?
srinannapa
  • 3,085
  • 8
  • 49
  • 66
6
votes
4 answers

Finding Changed files in a ClearCase folder

I have a Folder in ClearCase that contains a large list of Reports. I have checked all the Reports out because I need to make a sweeping change. I have changed a set of the Reports and now want to deploy this set. I probably should have checked…
MikeTWebb
  • 9,149
  • 25
  • 93
  • 132
6
votes
2 answers

How to get a version tree for a file in git?

In clearcase I could just run branchlocation>cleartool vtree And a version tree would pop up showing me the merges for that file. I want to do the equivalent in git. I think it is something to do with git read-tree - but that doesn't…
hawkeye
  • 34,745
  • 30
  • 150
  • 304
6
votes
2 answers

Adding files to sourcecontrol on linux using cleartool

I have a file that i want to add to sourcecontrol on linux using cleartool . I've followed the IBM documentation for this, i've tried this: cleartool mkelem testScript.sh I got an error: Can't modify directory "." because it is not checked out. I…
Alex Brodov
  • 3,365
  • 18
  • 43
  • 66