clearcase

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

ぃ、小莉子 提交于 2019-11-28 05:23:46
问题 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? 回答1: That command could help you: cleartool find . -type f -version "version(/main/LATEST) && !lbtype(LB)" -print That will print all the

Java Clearcase API

≡放荡痞女 提交于 2019-11-28 03:35:07
问题 Is there a Java ClearCase API? 回答1: 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

clearcase command to backup predecessor version of a file?

主宰稳场 提交于 2019-11-28 02:15:23
what is the clearcase command to backup predecessor version of a file ? VonC You can try cleartool get to copy any old version of a file into a temporary file. cleartool get –to C:\build\foo.c.temp \dev\hello_world\foo.c@@\main\2 More generally, the question " In ClearCase, how can I view old version of a file in a static view, from the command line? " will detail all the possibilities to access the content of previous versions of a given file. 来源: https://stackoverflow.com/questions/5381335/clearcase-command-to-backup-predecessor-version-of-a-file

Find all unmerged files/elements in ClearCase

主宰稳场 提交于 2019-11-28 02:09:15
We use ClearCase where I work and I'm trying to figure out how to find any files that have been modified but not merged up. We have a main branch at the very top level in ClearCase, and this is where the final source code changes are merged to and where we do our formal release builds from. We then have an integration branch under main where integration issues are worked out. When we get everything working and tested in the integration branch, we merge the integration branch up to main. For individual feature implementations and bug fixes, we create a new branch (usually named after an action,

How do I undo a checkin in ClearCase remote client

守給你的承諾、 提交于 2019-11-28 02:08:35
I am using ClearCase remote client Version 7.1.1, and I am wondering if it's possible to delete a version that was checked in by mistake. I know that in ClearCase, this is possible by choosing delete in the right click menu (Versions tree) Anyone has the answer ? Thanks VonC Argh! rmver (see man page) ? I would strongly advice against such an operation which cannot be undone (as I mention and detail in here , here or there ). And rmver is not possible in a CCRC client (even in the latest 7.1.2). What I usually do is a graphical merge from the n-1 version to the n version in order to produce a

ClearCase time and query

廉价感情. 提交于 2019-11-28 02:05:49
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 * '{version(/main/LATEST) && !version(SLT)}' Unfortunately this still shows me "the present". The manual says: Time rules may be nested. They may not include any query language constructs. Okay, but what do I do then? How do I exclude files and directories with a

Synchronize with stream clear case integration view

…衆ロ難τιáo~ 提交于 2019-11-28 01:57:01
问题 On my clear case integration view there is an option 'Synchronize with stream' which is sometimes enabled and sometimes disabled. What governs if this is enabled or disabled? Also it seems when i click this, it just updates the integration view. So why we need a separate function like 'Synchronize with stream' when we can just update the integration view? 回答1: That button is only active when the configuration of your view (ie the list of baselines listed by your config spec) isn't the same

Equivalent of the clearcase baseline and clearcase activities in Git?

只谈情不闲聊 提交于 2019-11-28 01:56:47
问题 To convince certain persons to shift from Clearcase to Git , I need to show them alternatives to the baselining and checking in/out documents under activity names. How can these be achieved in Git? I only saw the tagging option coming into the picture in this scenario, but that seemed to be useful for creating version numbers rather than for baselining or activity names. 回答1: You can read in my old answer a good comparison of ClearCase and Git. "What are the basic ClearCase concepts every

How can I find all elements on a branch with version LATEST that has no label applied?

随声附和 提交于 2019-11-28 01:52:47
问题 As the title said: I would like to find all elements that are on a branch (e.g. DEV_BRANCH ) with LATEST version but that has not yet had any label applied to them. I know how to find elements that does not have a particular label applied (as in: ClearCase: How to find elements that do NOT have a particular label, ClearCase: How to find files which was not labeled as “Label_Name” on CURRENT Version filtered by config spec) But I don't know how to find elements that hasn't got any label

Why is the owner of the clearcase activity 'nobody'

冷暖自知 提交于 2019-11-28 01:35:24
Why is the owner of the clearcase activity I created is 'NOBODY' but the created by is identified correctly. Is this the reason why I am not able to view the change set as a different user on a different machine. Those are representing object (here UCM activities) created by a user with an incorrect CLEARCASE_PRIMARY_GROUP environment variable (ie a group he/she isn't part of, or a group which isn't part of the primary or secondary groups of the vob/pvob of the UCM project). I usually fix that (as a ClearCase admin) with a: cd M:\auser_dynamic_ucm_view\avob\a_root_component cleartool find .