clearcase

How do I perform a recursive checkout using ClearCase?

I want to check out all files in all subdirectories of a specified folder. (And it is painful to do this using the GUI, because there is no recursive checkout option). ...

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. ...

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 exercise in scurrying around trying to get the exact correct configuration of Visual Studio...

Migrate clearcase to perforce

I have a large quantity of clearcase data which needs to be migrated into perforce. The revisions span the better part of a decade and I need to preserve as much branch and tag information as possible. Additionally we make extensive use of symbolic links, supported in clearcase but not in perforce. What advice or tools can you suggest...

How can I use ClearCase to "add to source control ..." recursively?

I unpacked a zip-file delivery into a clearcase view. Now I want to add the complete file tree to the repository. The GUI only provides an "Add to source control ..." for individual files/directories. Do you know how to recursively add the whole tree? (I'm on a Windows system, but have Cygwin installed.) ...

How would you migrate a multi-site ClearCase/ClearQuest environment to all Open Source?

I work in an multi-site environment that's currently using Rational ClearCase for source control and Rational ClearQuest for issue tracking (I accept your condolences ahead of time). As a rough estimate I would say this is supporting 200 engineers. How would you effectively migrate this SCM methodology to a comparative, all Open Source...

Compare view with stream

I use ClearCase. I have a snapshot view. Is there a way to compare this view with stream to find changed files? In TortoiseSVN this is called "Check for modifications" and shows all difference between local copy and what we have in the repo. ...

Downgrading from ClearCase to SVN/Mercurial

At work, we're using ClearCase right now. However, there's a lot of overhead required, especially when someone does something stupid (like erase a view with multiple reserved check-outs on the trunk...). Since we're trying to lower our overhead and be as lightweight as possible, we've through about the possibility of ditching CC and go...

How to track third-party sources with ClearCase without a headache?

First of all: I am not an experienced ClearCase user, but I have lots of experience with other VCS and *nix command-line tools. WIth ClearCase, I use command-line tool ("cleartool") working in a Unix shell. Problem: I have a small set of sources stored in the ClearCase. Once in a while a fresh .tgz with the same sources comes in and I h...

What is your experience with Clearcase Multiserver?

We are considering using ClearCase Multisite to enable the offshore development team. The other option is the ClearCase Remote Client using the local (onshore) ClearCase installation. Has anyone had experiences using Multisite? Is the synchronization and management hassle worth offshore being able to use the fat client? ...

In ClearCase, how can I view old version of a file in a static view, from the command line?

In a static view, how can I view an old version of a file? Given an empty file (called empty in this example) I can subvert diff to show me the old version: % cleartool diff -ser empty File@@/main/28 This feels like a pretty ugly hack. Have I missed a more basic command? Is there a neater way to do this? (I don't want to edit t...

How do I determine what files in my ClearCase local view have not yet been added to source control?

If I have added/removed/modified a large number of files in my local ClearCase view, how can I be certain that all the files have been added to source control? ...

Can I migrate from ClearCase to Serena VM?

I have a repository using Rational ClearCase Explorer 2003.06.10+ which I want to migrate into Serena ChangeMan Version Manager 8.1.4.2. Is this possible? The ClearCase repository was not used for all it's functions, just as a place to hold copies of documents, so the only thing I need to keep is the files and their version histories. ...

How to exclude files by name in a ClearCase find command?

Using the ClearCase find command, how do I find all files in a directory that do not have the name pom.xml? I'd like to pass other selection options to the ClearCase find command so I'd prefer not to execute another command. I am using a RedHat linux version of ClearCase. I have tried "cleartool find ! -name pom.xml -print" and that...

Clearcase Config Spec with Private Branch

I have a somewhat complicated branching structure at work (at least for me). It is something like this: Main | 1 | 2 | \ 3 \ Ver2 | 1 | \ 2 \ | ProjectA 3 | 1 There are 2 branches off of main. "Ver2" which has everyone's changes for the next version, and "Proje...

How do I get latest clearcase label programmatically from C#?

I am trying to put version information to my C# GUI framework retrieved from the latest ClearCase label. This was originally done from Visual Soursafe as below. vssDB = new VSSDatabaseClass(); vssDB.Open( databaseName, "vssadmin", "vssadmin" ); VSSItem item = vssDB.get_VSSItem( @"$\BuildDCP.bat", false ); foreach(VSSVersion vssVersio...

Maven, Hudson and Dynamic Clearcase Views

This led on from the question about asking if Apache Maven and IBM Rational ClearCase integrated well. Thought I should write up what I found out - will require various edits, but I shall eventually get round to adding it all I hope. Environment ClearCase - Version 7.0.1.2 of ClearCase. Maven - All of them, from the Maven website. ...

What are the uses of svn copy?

Example: $ svn copy foo.txt bar.txt A bar.txt When would you use this technique, and why? Will this command (taken from svn's "red book") creates a copy of <foo.txt> while preserving the history of it to be shared with <bar.txt>? If I'm changing <bar.txt>, what will happen to <foo.txt>? What are the equivalents to thi...

Clearcase Multi-file rename

I have a large number of files in a ClearCase directory structure, and I need to go through and change all "makefile" to "Makefile". I'm thinking some combination of the find . -name makefile command with an exec flag, but I'm having a hard time coming up with the exec command. The cleartool mv command does not automatically check out th...

File permissions in cygwin and MVFS

I am using Cygwin with a dll version of 1.5.19 (yes, out-of-date, I know, but we're doing it for configuration control reasons). All my files (existing and newly created) show up with permissions 644, despite a umask of 022. Also, using chmod doesn't change the permissions. I have ntsec set in the CYGWIN environment variable. I need ...