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
9
votes
5 answers

IBM Clearcase plugin installation issue with Eclipse

I am trying to install IBM Rational ClearCase SCM Adapter (For Eclipse), Version 7.6.0.0 following instructions on IBM site on Eclipse Juno CDT. I am using Install New Software > Add with the following…
Xavier T.
  • 40,509
  • 10
  • 68
  • 97
8
votes
3 answers

Cleartool: How to apply label to files which are in my current view only?

I could not find the proper command to apply a label to files which are in my current view. I have tried the following command: cleartool mklabel -r TEST_LABEL /vob/test/a However, the problem is that this command will apply the "Test_Label" label…
user1096966
  • 103
  • 1
  • 1
  • 6
8
votes
2 answers

Searching ClearCase for a checkin with a specific comment

I've been asked to provide details of a checkin I did about 3 months ago into ClearCase. I know the QC number that was included in the comment but have so far failed utterly to find a way to search ClearCase for a checkin by comment. Any ideas?
Barracoder
  • 3,696
  • 2
  • 28
  • 31
8
votes
2 answers

How can I use ediff (emacs diff) as a diff/merge tool in Windows ClearCase?

I'm forced to use ClearCase (Windows version) at work, and I want to use emacs ediff as a diff and merge tool. The problem with the ClearCase map file is that it requires .exe files - I've tried to specify a batch file calling ediff and it didn't…
Eugene Morozov
  • 15,081
  • 3
  • 25
  • 32
8
votes
4 answers

How does eclipse figure if a file has unix or dos-style line endings?

I am looking at some Java Code in Eclipse on Windows. The line termination characters (DOS-style) do not display properly (empty lines everywhere..). The Problem is that the Code is from a Windows ClearCase vob for which I do not have check-in…
0x89
  • 2,940
  • 2
  • 31
  • 30
8
votes
1 answer

What is the difference between a reserved checkout and an unreserved checkout?

When I check out a file in ClearCase it asks me if I want to check out the file "Reserved" or "Unreserved". What are the differences between these types of checkouts and when are the appropriate times to use them?
brainimus
  • 10,586
  • 12
  • 42
  • 64
8
votes
4 answers

Find changes between labels

Using cleartool I am able to find all the files associated with a label using something like: ct find -avobs -version "lbtype (Build-Label)" -print How do I find all objects changed (including adds and deletes) between two labels?
brainimus
  • 10,586
  • 12
  • 42
  • 64
8
votes
1 answer

how to create a branch in clearcase with GUI operation only?

I searched for a while and tried to find a way to create a branch in clearcase, but cleartool commands are used in all the articles I found. I'm just curious that is there any other way to use GUI operation only?
Felix
  • 2,673
  • 3
  • 30
  • 38
8
votes
1 answer

How to update clearcase view via windows command line?

I have a view named "Dev_view" in ClearCase and want to update the view via windows command line. Is there a way to do that? In particular, what other command can trigger a view update?
8
votes
7 answers

Migrating away from Clearcase

We are migrating from Clearcase to another VCS (probably either SVN or Mercurial). For companies that have made this transition, what factors did they find important in selecting another VCS tool, and what practices did they find eased the…
John Clark
  • 81
  • 2
  • 6
8
votes
2 answers

How to recover a file from "Checkout but removed" state?

I was trying to checkout a file and it went it to "Checkout but removed" state. I am not able to undocheckout it and have no clue what needs to be done next. When i surf through net for this I found an article IBM site Checkout But removed state But…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
8
votes
1 answer

Why are Process Image Names sometimes padded with hex characters?

When debugging on my Windows-7 64 bit VM machine I notice that sometimes (perhaps 50%) my exe name has been padded out with strange hex characters: 8000885a4fe0a0d0des.exe.11048 other times it is simply plain: des.exe These are 32 bit .Net4…
Sam Mackrill
  • 4,004
  • 8
  • 35
  • 55
7
votes
3 answers

Recursive checkin using Clearcase

I want to check in a directory and all the sub-directories into the clear case. Is there a specific command to achieve it? Currently I am going into each directory and manually checking in each file.
SNA
  • 7,528
  • 12
  • 44
  • 60
7
votes
2 answers

Find files in Clearcase view newer than a specific date?

I've got to upload my changed files for code review, but I have the following issue: I need to find all the files in my view that have changed since my last code review upload. I thought I labeled all the files when I did the last review upload,…
Luciano
  • 1,571
  • 3
  • 17
  • 23
7
votes
1 answer

Clearcase Delete Directory

I have a directory structure like so: root_dir dir1 dir2 file1.txt file2.txt sub_dir file3.txt file4.txt What is the best way to delete dir2 and all it's sub-elements using rmname? Can I simply do 'cleartool rmname…
Ken Hirakawa
  • 7,831
  • 10
  • 38
  • 49