clearcase

CC delete option from CC explorer

时光总嘲笑我的痴心妄想 提交于 2019-11-29 12:23:26
I was wondering which command is executed internally when we select 'Delete' from Clearcase explorer context menu. Is it rmname, rmelem or rmbranch? We use base CC. I am a developer and since I don't want to do any removal related experiments within our CC setup, I decided to ask the question here. VonC It is cleartool rmname . It will checkout for you the parent directory, derefence the file (rmname) and checkin the parent directory. See " About cleartool rmname and checkouts " The Delete operation from within ClearCase Explorer on Microsoft® Windows® executes a cleartool rmname , not a

Reverse Changset of an activity in Clearcase

▼魔方 西西 提交于 2019-11-29 12:08:09
I have a requirement posted by the development team to reverse all changes in a given UCM activity. Constraint being we do not have delete rights. Meaning I know I can do a lsactivity to list all elements in an activity with their respective versions and then in the easy world would be able to delete those versions. But the SCM policy does not permit us to delete/ rmver anything. So I am left with back merging 1 version back. Meaning let us say I have version 5 of a.java checked into an activity. One way I think to achieve this, is find version 4 (using - predecessor ) and blind copy this ver

how to fix or investigate 'Operation “view_ws_is_ws_view” failed'?

本小妞迷上赌 提交于 2019-11-29 12:04:47
I stopped and started a view for which various file access actions were hanging (after killing all my terminal sessions where I was using that view), and now get: cleartool: Error: Operation "view_ws_is_ws_view" failed: view storage directory or control files unavailable -- additional information may be present in the view server host's view log. Two questions: 1) Is there a clearcase subsystem that can be restarted to fix this (preferably without impacting other users)? 2) the very unhelpful error message refers to a view log, but doesn't say where it is. Where can this log be found (SUSE

How to deliver a baseline from one project to another project in UCM?

霸气de小男生 提交于 2019-11-29 12:04:37
I am having 2 projects in clearcase UCM as follows Project-200 Project-200.1 In Project-200.1 , We have completed a work and applied a baseline "Project-200.1-1.1.0.0" Now we would like to deliver from Project-200.1 to Project-200. How to deliver the baselined contents? We do not want to deliver any thing which is added after baseline. You simply make an inter-project deliver of your baseline. As long as both projects have the same component, and if the deliver policy of the destination project authorize inter-delivers, you can initiate it between a stream of Project-200.1 and a Stream of

ClearCase: How to find files not labelled with “LB” on CURRENT Version selected by config spec

点点圈 提交于 2019-11-29 11:39:22
For example, the current config spec is "element * /main/LATEST". There is a file "A.txt", its current version is 3 and a label named "LB" was applied on its version 2 before. I want a command to query all files which do not have the label "LB" on its current version. Obviously, file "A.txt" should meet the query. How to write the clearcase command? That command could help you: cleartool find . -type f -version "version(/main/LATEST) && !lbtype(LB)" -print That will print all the versions (files here) at /main/LATEST that haven't yet the ' LB ' label. cleartool find /your/path -cview -version

Clearcase issue while “add file to source control”

早过忘川 提交于 2019-11-29 11:37:52
I am facing a following issue while adding a file to clearcase (UCM) --------------------------- Rational ClearCase Explorer --------------------------- Error adding 'M:\Myviename\Myvob\Myproj\Implementation\DataSource\Deployment\BOM\SupportFiles\Service.config' to source control. Created branch "Tm6-Proj-Dev2" from M:\Myviename\Myvob\Myproj\Implementation\DataSource\Deployment\BOM\SupportFiles\Service.config' version "\main\0". Type manager "text_file_delta" failed create_version operation. I tried rebase and deleted and added the file again. But facing the same. Why this occured and how to

Version control with MVFS

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 11:05:46
Is there any version control system available with an MVFS-like virtual file system in addition to the ClearCase? I can't find any. Thanks, Mart VonC No (in a read/write remote access). MVFS (MultiVersion Filesystem) is about encapsulating the native filesystem to combine: network access with version files through dynamic views To my knowledge, only ClearCase offers that (especially on that many platforms: Unix, Linux, Windows, Hp). Other VCS offer read-only remote access like Gitfs and svnfs . From " Filesystem Interface for the Git Version Control System " (pdf, from Reilly GRANT): The

SVN to Clearcase Export

大憨熊 提交于 2019-11-29 10:05:32
问题 I have a client who is rather insistent about using Clearcase. Are there any tools/scripts that would allow my team to work against an SVN repository (or really anything other than Clearcase), but periodically automatically sync back changesets to the Clearcase VOB? My thinking is that if such a tool exists, and it's automatic, reliable, and transparent the client might be pursuaded to allow us to work against SVN. Thanks, Kent 回答1: I use Git directly within a ClearCase view. Then I could

Java Clearcase API

送分小仙女□ 提交于 2019-11-29 10:05:29
Is there a Java ClearCase API? VonC Update 2016 (as mentioned by hack 's answer below ) I mentioned since 2010 the CM API multiple times, as soon as 2012 and as recently as last March 2016 . Since ClearTeam 8.x, this API does support dynamic view , as well as snapshot views with 8.0.1.7 . See more with Rational ClearCase CM API introduction (v 9.0.0) . Its " installation and setup requirements " do involve Java, with at least: Rational CM API component infrastructure JAR files Rational CM API subprovider JAR file for ClearCase® Original answer (2010, pre ClearCase Team Explorer) The is no Java

Create clearcase dynamic view using CAL in C#

时光毁灭记忆、已成空白 提交于 2019-11-29 08:49:40
I'm trying to create a clearcase dynamic view using CAL in C# using the following code. private static ClearCase.ClearTool ct; string viewName = "tmp_view"; string cmd = "mkview –tag "+ viewName + " –stream " + selectedStream +"@"+ projectVob + " \\\\<Network Shared Path>\\"+ viewName +".vws"; ct.CmdExec(cmd); On execution, ct.CmdExec method throws exception saying viewTag must be specified. For the same cmd string I'm able to create a view using cleartool command prompt. Can you please tell me why I'm unable to create a view in C#? VonC It is possible that you didn't used -tag but –tag :