clearcase

How can I branch "main" node of a UCM project?

We're using RAD with ClearCase plugin as "ClearCase Explorer Perspective". I need to make a new main version of a java project. For that reason, I want to change main/0 version to ie. main/1. How can I forward version from top-level? I tried to make new project by using "Project Explorer" creating new stream. It required previous baselin...

How to list files under a clearcase view via ccrc?

Hello, is there any way to list files under a clearcase view using the remote client cli? Currently I'm doing mkview and an update to get the files, then list them with ls/dir command. I'm only interested in the ls/dir output NOT the files themselves. Thanks in advance! ...

CruiseControl.NET and Clearcase configuration

I'm having problems simply configuring the server for CruiseControl.NET. I am using the source block that is given by ThoughtWorks to set it up, but I cannot seem to get it to be error-free. I am pretty new to all this and some sort of direction would be fantastic. Does anyone use this combination? Do you have a ccnet.config file I c...

How to use clearfsimport to import files into an empty VOB

I created a VOB and a snapshot view that loads it. The VOB is empty and I wanted to add some files to initialize it, but I got errors for all files that I wanted to import. Here is the details. The VOB is created by this command: ct mkvob -tag /vobs/sqlite -comment "testing VOB for Sqlite" -public /var/clearcase/vobs/sqlite.vbs The v...

How would you select versions from a specific branch in ClearCase?

I would like to get all the files checked-in a private branch and only the those files checked in. What config spec would you recommend? Let's say prvt is the private branch: element * .../prvt/LATEST Would that work? ...

integrate Beyond Compare with ClearCase

Hi, I would like to integrate Beyond Compare with ClearCase so that I can use it for diffing and merging files, instead of the awful tools provided by ClearCase. Does anyone have instructions for performing this integration? Thanks, Don ...

best scripting language to develop rational clearcase plugin to extract some functionalities

Dear all, I just want to know about clearcase. Basically i want to write some application which will extract some files from clearcase vobs. Right now i am not getting any clue that which scripting language like python or perl i should use. basically i am looking for perl scripting for that. I also want to know is there any proper docu...

Integrating Hudson with UCM Clearcase on windows machine

I've installed Hudson on my windows machine and trying to integrate it with UCM Clearcase (the repository we are using). There are no help docs available on Hudson wiki to explain how to do that. I select New Job --> Project Name I give as Test --> select Build a free style software project --> click Ok --> This leads me to Config...

how to list files of specific permissions using UNIX ls command ?

I would like to see all the files recursively in a directory or drive which are not read only. I would like to do this as i am using the clear case and i would like to check on on the files which are to be added to he source control or view-private files. even a clear case command would help thanks. For clear case specific i tried "ls...

ClearCase - find all the files that aren't updated

I'm working with ClearCase on Unix. I am working on a branch, and I want a command that will list all the files which I view on my branch, that have updated versions of them in the Main branch. Is that possible? ...

ClearCase: How to find files which was not labelled as "Label_Name" on CURRENT Version filtered by config spec

For example, the current config spec is "element * /main/LAETST". there is a file -"A.txt", current version is 3 and a label named "LB" was applied on its version 2 before. I wanna a cmd to query all files which do not apply label "LB" on its current version. Obviously, file "A.txt" should meet the query. How to write the clearcase cm...

Clearcase: List labels matching a particular string

I would like to list the available labels matching a particular string applied in the view. ...

clearcase: find -name not allow multiple patterns?

I wanna find *.cs and *.cpp files through cleartool find command. But it failed. cleartool find "M:\test_view\code" -name "*.cs *.cpp" -print Nothing can be found based on above even there are matched files in that folder. How to set multiple file-name patterns ? ...

Code Review - Clearcase - How to get a list of files a user modified since another label?

Hi all, I'd like to create a dynamic view that only shows the files a user created/modified for a particular label. Right now, I am listing all of the files in the label and comparing that with the previous label. If I have to use cleartool to find the files, that is fine with me. I'd like the process to be more automated than it cur...

How to add a directory tree to a ClearCase repository?

I have a directory tree with sub-directories, and I want to add it to a ClearCase repository. Currently I need to rename the directory, use CC's mkdir, and so forth for every dir. Is there a way to do this automatically (maybe a ClearCase command I don't know about, or a script)? ...

Clearcase "pname" for a VOB

I'm trying to change the ownership on a VOB, and I see that the cleartool protect command has a chown option. It's asking for a pname, and I can't seem to find documentation on what a pname is or how to specify one. I guess my questions boil down to: What's a pname? What's its format? How do I specify the pname for a VOB? Is there d...

Label Clearcase View from Hudson

Is there any way to label a paticular Clearcase view through the Hudson tool itself? (i.e. with Perforce there is an option to "Label This Build"). ...

Clearcase: How to know the labels which were applied on the target of a symbolic link

If a file A is not symbolic link, we can use describe to get the labels which were applied on its current version. But if it is symbolic link, we can just use describe to get a relative path of the target file. Is there any easy way to list the labels of the target of a symbolic link? ...

Newly created view not visible in ClearCase explorer: how can I see it?

I created a view using the ClearCase explorer. But after its creation, the view is not visible in the listing of views within the explorer. I tried closing the explorer and starting again. But no use... What would you suggest? ...

Label Clearcase branch via batch script

I need to create a Clearcase label script to run on a UNIX server. Labels will not always be on the latest build and the script needs to be run via a manual process. It will label every file a branch of code at a version (currently selected by a timestamp-timestamp is from a Hudson build engine which will create these scripts and ftp ...