clearcase

ClearCase time and query

This config-spec show the files I need: element -dir * '{version(/main/LATEST) && !version(SLT-T)}' element -file * '{version(/main/LATEST) && !version(SLT)}' Now I need to see how the source looked at some point in the future, so I do this: time 01-Nov-2008 element -dir * '{version(/main/LATEST) && !version(SLT-T)}' element -file * ...

Command line to delete all ClearCase view-private files

I'm looking for a command line to remove all view-private files and directories from a ClearCase view on Windows. I have Cygwin available as well. The script available at this article is not quite what I want, since I'm working with a large number of files and want to delete them all without having to select each one. ...

Any way to use a custom diff tool with cleartool/clearcase?

I'd like to use my own diff when working in a clearcase snapshot view. As far as I can see, there is no way to specify a diff tool when running "cleartool diff", so I was thinking I could run something like "mydiff <predecessor file> <modified file in my view>", but I don't know enough about clearcase to be able to find the "predecessor...

How to create ClearCase views automatically?

I'm a configuration manager and I'm working on Windows and UNIX environments. Currently, I have to create the views by myself for the developers and QA engineers. Is there any better approach? Thanks. ...

Creating a new subdirectory structure in ClearCase?

I'm a ClearCase newbie and up until now have been used to SVN. Therefore, I'm a bit confused on the steps I need to take to create a new directory structure containing multiple files to ClearCase. So, say for example there is an existing directory structure within ClearCase as follows: \ParentDirectory \ChildDirectory1 \Fil...

ClearCase: How to find elements that do NOT have a particular label

I'm looking for a ClearCase command that will list all the elements that are visible in my current view, but do NOT have a particular label applied to them. Say for example, most of the elements that are visible in my view have *LABEL_X* applied to them. I want a list of those elements that do not have *LABEL_X*. I obviously need to u...

How to Leverage Clearcase's features

We use Clearcase at our office, and based on my admittedly light knowledge of clearcase, it just seems like a really bloated source control tool. I know from hearing friends talk about Clearcase that it's really powerful. My question is, what are some features of Clearcase that make it 'powerful', and what are good tips and tricks for ...

How source control management interworking can be achieved?

While related questions have been asked before I would like to see an idea about how interoperability between two source control management (SCM) systems can be done. For example we could consider any SCM out there (Mercurial, Git, SVN, CVS, Perforce, ClearCase ...). Mainly I'm interested if ClearCase can be used along with SVN or Git/...

What is the best tool for migrating from ClearCase to TFS2008?

We are moving from ClearCase to TFS2008. I easily found the MS migration tool but it seems to be targeted to TFS 2005. Any suggestions on other tools that could accomplish this? ...

Using Visual Studio 2005 with ClearCase Eclipsed Files

I'm trying to use Visual Studio 2005 with ClearCase eclipsed files (view private which "eclipse" a versioned file), but any time I save the file in VS, it becomes uneclipsed, and returns to the versioned file. In Linux, I use VIM instead of Visual Studio, and get around this problem by setting backupcopy=yes, thereby forcing it to save f...

Viewing version tree in VS2008

Can anybody please tell me how to directly view the ClearCase version tree of a file opened in VS2008 ? I have the source control tool bar in the editor and it has all other option (check in, check out etc) but has no buttons to view the version tree of the file. Can I configure this some how ? Also, I have the clear case add-in dll whic...

object not set to instance of an object!! ComboBox SelectedIndex SelectedItem

I am developing a program which gets all Clearcase regions (basically strings) & adds them to Combo box. I compare an existing clearcase region string in newly added items in combo box & if it is found then I want to select it, but because nothing is selected for the first time, selectedItem is null & selectedIndex = -1. when I assign 0...

How do I shorten a clearcase view's load directory?

In Clearcase I have a VOB with a path like this: \Department\ProductGroup\Product1\Development I have a view with a Config Spec like this: element * CHECKEDOUT element * .../mybranch/LATEST element * /main/LATEST -mkbranch mybranch load \Department\ProductGroup\Product1 All the source code for Product1 is in the Development directo...

Using Eclipse Update Sites after SSL redirect

Hey, Recently I've set up the ClearCase Remote Client (an eclipse plugin) to work through SSL, so instead of an http URL, it follows an https URL. However, this breaks the access to the Update Site, returning an error that the site has a "Premature End of File" error. My question(s) are this... Is there a problem with Eclipse accessi...

What is the best strategy when migrating from ClearCase to SVN?

We are considering moving from ClearCase to Subversion. The project has been there for a while (7 years) and there are three "major" versions (branches) that we actively support, plus some occasional fixes in older releases. The project is fairly large - around 2 mln lines of java code. I am curious if there is someone that has done sim...

Retrieving the version number of a source file in ClearCase

Hello, I creating a small addin to help with my source control. Does anybody know how I could retrieve the Branch Name and Version Number of a source file in Rational ClearCase. I want to do this using C#. Where is all the information actually stored? ...

How to list all my check-ins using ClearCase?

Is it possible to get a list of all the check-ins I've made within a given source code directory tree using cleartool? If possible I'd like to see when the check-in was made and the file version. I'm using Windows. Thanks in advance. ...

create .project file for flex application

Hi Guys, I want to add my flex project to a SCM like Clearcase and then allow other developers download it and use in FlexBuilder. What foramt do i need to place it in my clearcase so users can simply download and import into Flex Builder? Is there some way to create a .project file or similiar to allow Flex Recognise the project in c...

ClearCase : How Can I Revert to Earlier baseline?

How Can I Revert to Earlier baseline? We have a UCM parallel development(multi-stream) project. Each developer have a snapshot view on Project's Integration stream. Developers want to see earlier version of the application in their snapshot views so They can debug early version of application to find bugs. When I want to change an exis...

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 and by default ClearCase doesn't like checkins without changes. So we undo the checkout...