clearcase

command in clearcase to get list of all labels applied on an element

点点圈 提交于 2019-12-01 02:20:00
I'm trying to get the list of all the labels applied on an element. I'm using cleartool desc <element> This seems to list all the other details of the element as well. Is there any particular option with desc command that lists only labels? Thanks VonC Use cleartool fmt_ccase in order to restrict the describe to only the labels. cleartool descr -fmt "%l" myFile You can see that technique used in: " Which tag or branch is created from a particular branch " " Command to find labels applied on particular branch " " Cleartool - List Objects with Their Labels " For instance, a slightly more

SVN project import to ClearCase

懵懂的女人 提交于 2019-12-01 01:43:10
I have a client who is rather insistent about using Clearcase. Are there any tools/scripts that would allow my team to import SVN projects? My team projects actually will be in SVN…. How do I import SVN project to Clearcase? Thank you VonC This technote does mention: ClearCase does not provide a tool to import from Subversion to maintain version history. If you are not interested in maintaining version history and merely wish to start from the latest version or a preselected configuration, you can use the clearfsimport command. Review the ClearCase Command Reference Guide on the topic of

Searching ClearCase for a checkin with a specific comment

╄→尐↘猪︶ㄣ 提交于 2019-12-01 01:41:39
问题 I've been asked to provide details of a checkin I did about 3 months ago into ClearCase. I know the QC number that was included in the comment but have so far failed utterly to find a way to search ClearCase for a checkin by comment. Any ideas? 回答1: Have you looked at this ? Specifically the section below. How to find elements and versions with specific comments I want to find all elements/versions with specific comments like “Jane changed this on 11-26” M:\my_base_view\my_base_vob>cleartool

Choosing between UCM and base ClearCase

六月ゝ 毕业季﹏ 提交于 2019-12-01 01:36:16
Which one is better? UCM or base ClearCase? For paralel development, do we need UCM? Is using manual branching is error prone on base ClearCase? Is serial development not meaningful? working on same branch? One is not better than the other, UCM represents a different set of best practices that you can choose to apply on top of base ClearCase. UCM is great at defining a coherent set of files (the UCM "component") that will be: branched in the same branch labelled ("baseline") as a all (all the files receive an immutable label) referenced by other streams (list of baselines) Parallel development

Getting filename, location and author of changed files using RTC source control

这一生的挚爱 提交于 2019-12-01 01:15:17
I'm trying to access the filename, location and author of changed files for a given stream. Below code is what I have so far. Looking at the api documentation this does not seem possible? Can this be achieved using the java api or some other method ? IChangeSetSearchCriteria c = IChangeSetSearchCriteria.FACTORY.newInstance(); WorkspaceManager mgr = (WorkspaceManager) SCMPlatform.getWorkspaceManager(repo); IWorkspaceSearchCriteria criteria = IWorkspaceSearchCriteria.FACTORY.newInstance(); criteria.setKind(IWorkspaceSearchCriteria.STREAMS); criteria.setExactName("mystream"); Note: try to not use

unable to complete delivery

时光总嘲笑我的痴心妄想 提交于 2019-12-01 01:11:59
I got the following error while trying to complete the posted delivery. Is there anything I can do it from the target site? cleartool: Error: Unable to check out "/vobs/amit_sumit/lost+found/pcs_i_ltf_odfc_set_sftp.c.842f38e667011e395ad0018fe6508eea". cleartool: Error: Some files could not be checked out in the target view. cleartool: Error: Unable to perform merge. cleartool: Error: Unable to do integration. cleartool: Error: Unable to deliver stream "banglore_atx_cl". Yes. You can change the config spec of the view you are using for your deliver in order to not select the lost+found folder.

How best to branch in Clearcase?

流过昼夜 提交于 2019-11-30 23:57:17
I've previously documented my opinions on Clearcase as a source control system, but unfortunately I am still using it. So I turn to you guys to help me alleviate one of my frustrations. We have just moved from a one-branch-per-developer system, to a one-branch-per-task in an attempt to improve some of the issues that we've been having with determining why certain files were changed. Generally I am happy with the solution, but there is one major issue. We are using simple scripts to start and end tasks which create a new branch named with the username and task number and then updates the local

Not getting the coverage on new code in sonar dashboard

感情迁移 提交于 2019-11-30 23:38:40
I am trying to use scm activity plugin 1.8 for clearcase and using sonar 4.3.3 and got the blame information in the sonar but did not getting the coverage on new code in dashboard You should add Code Coverage Tool to your build process. If you use Maven, then you can add: <build> ... <plugins> ... <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.5.201505241946</version> <executions> <execution> <id>jacoco-initialize</id> <goals> <goal>prepare-agent</goal> </goals> </execution> </executions> <configuration> <rules> <rule> <element>CLASS</element>

SVN project import to ClearCase

…衆ロ難τιáo~ 提交于 2019-11-30 21:34:58
问题 I have a client who is rather insistent about using Clearcase. Are there any tools/scripts that would allow my team to import SVN projects? My team projects actually will be in SVN…. How do I import SVN project to Clearcase? Thank you 回答1: This technote does mention: ClearCase does not provide a tool to import from Subversion to maintain version history. If you are not interested in maintaining version history and merely wish to start from the latest version or a preselected configuration,

How would you measure inserted / changed / removed code lines (LoC)?

谁都会走 提交于 2019-11-30 21:09:33
问题 My question concerns LoC metrics. I have to provide statistics of inserted, changed and removed lines. My users use ClearCase and the example below based on it, however I believe that my question is general. Please have a look on the following example (taken from ClearCase documents). It compares two file versions, /main/1 (on the left side) and /main/3 (right side). ******************************** (file summary) <<< file 1: util.c@@/main/1 >>> file 2: util.c@@/main/3 ***********************