clearcase

How to exit from clearcase view and not from script?

六月ゝ 毕业季﹏ 提交于 2019-12-07 04:09:25
The issue is I have to touch a particular file in a ClearCase view after touching it, I have to exit the view. And now I must reset the same view again. Now when I reset, it will open in different mode. I have tried this so far in shell script. When executing this script I am in view XYZ #!/bin/sh touch /ccase/.host; exit; ct setview XYZ cd /ccase/src The problem I am facing is in line 3 ( exit; ). I am coming out of script and not from view. VonC I would rather try without using cleartool setview . Access your data directly in the full path of your view: /view/XYZ/vobs/yourVob That way: you

how to commit an arbitrary directory tree

♀尐吖头ヾ 提交于 2019-12-07 03:47:27
I am looking for a process that would allow me to commit an arbitrary directory tree to ClearCase. The tree might contain regular files, directories and symlinks (to either files or directories). We are working with dynamic views exclusively, and I have been given by older team members the following process to follow in such cases (assume that I need to commit to ClearCase the entire structure of directory foo ): change to the directory where foo appears and check it out: ct checkout . register all files in foo as ClearCase objects: ct mkelem -mkpath $(find foo -type f) check-in the newly

Cleartool findmerge error

我的梦境 提交于 2019-12-07 03:22:38
I'm running this command : cd into view directory cd into the relevant folder cleartool findmerge rvnDataPathEgressProcessor.cpp@@\main\RavenAppMain_Integ\RavenApp1.5\RavenApp1.5.0.0_Integ\RavenApp1.6.0.0_Integ_OBS\RavenApp1.5.2.0_Integ\RavenApp1.5.5.0_Integ\14 -fversion rvnDataPathEgressProcessor.cpp@@\main\RavenAppMain_Integ\RavenApp1.5\RavenApp1.5.0.0_Integ\RavenApp1.6.0.0_Integ_OBS\RavenApp1.5.2.0_Integ\RavenApp1.5.5.0_Integ\aviv.sharon_RavenApp1.5.5.0\15 -print -whynot I'm getting this error: cleartool: Warning: A version selector is required, not a pathname: "rvnDataPathEgressProcessor

ClearCase: Find files having exactly one specific label and not more

霸气de小男生 提交于 2019-12-07 03:16:47
问题 I'd like to find files in ClearCase that are labeled with a specific label but that do not have any other labels set . For example, if I have files labeled like this: file1 LBL_A, LBL_B file2 LBL_A I'd like to have a query that gives me just file2 and not file1. Is there a way to do this with cleartool find? If this is not possible to do with a single query, I'd also be happy for any ideas how to do this in several steps (I'll be calling cleartool from a perl script, so it will be easy to

How to avoid the rebase command in clearTool popups a screen?

 ̄綄美尐妖づ 提交于 2019-12-06 22:26:31
I am trying to rebase a baseline using this command in ClearTool: rebase -bas [baseline_code] However, after this command, a screen pop up with this question: Do you wish to name the Deliver/Rebase activity (if no, press Enter or Cancel to use the default name) I want to avoid this screen because I want to implement it in a code, for this reason, is there any command to add in this rebase, then it can stop to show this screen? Or is there any kind of set up that I have to do in ClearCase to stop to show it? My ClearCase version is 9.0.1.0. I tried to disable some trigger that I found as

Hiding an element in ClearCase

家住魔仙堡 提交于 2019-12-06 21:59:38
I'm trying to hide an element in my ClearCase view. I've set the following line in my config spec: element /path/to/some/element -none Further down in my config spec, there is an include to another config spec (which in turn includes other config specs and so on - a complete mess, but I can't change this). I'm pretty sure there is another line in there setting this element to a tagged version. When I do ct ls on the file I see: /path/to/some/element@@/main/1 Rule: SOME_TAG Is the -none option to element overridable by a tag? If so, how can I work around it? I confirm a config spec wouldn't

Cleartool command to list all files part of a changeset

风格不统一 提交于 2019-12-06 21:09:50
I have a requirement where I want to use Cleartool and 1. I would like to pass a chageset number to Clearcase server and would like to see all files that would be part of that Changeset 2. Pass these file names to Clearcase server and copy the latest version of the files onto my local machine. Is there a way to achieve this functionality using cleartool? Can someone please suggest the commands with the necessary parameters that needs to be passed? Thanks in advance. With ClearCase UCM, the "changeset" is part of an UCM activity To see the content (ie the list of versions modified) in an

How to keep includes in SVN

我怕爱的太早我们不能终老 提交于 2019-12-06 20:44:26
I am moving from clearcase-lite (CC-LT) to SVN. In clearcase we link every C++ header file in central folder (Include) in order to simplify the make-file configuration. For example: Folder1/a.h Folder2/b.h Folder3/c.h Include/ a.h --> ../Folder3/a.h b.h --> ../Folder3/b.h c.h --> ../Folder3/c.h And Make file contains: -I../../Include Currently, in clearcase, each link under Include folder is an element. Now that we are moving to SVN I wonder if that is the best way to handle this. Do I need to keep the same concept and import also the symlink files? VonC Do I need to keep the same concept

COM reference or Command tool for ClearTeam Explorer

萝らか妹 提交于 2019-12-06 20:36:25
I have been using IBM Rational ClearTeam Explorer version 8.0.0. I like to come up with customized tool(WPF application) to performing ClearTeam actions like makebaseline, checkin, checkout. Is there any command tool and COM object availabe to perform these functions. I would be helpful if there are any reference link also. The official API for CM/ClearTeam is in java, not COM. It is the CM API , a standards-based Java API for ClearCase, which in the 8.0 release, adds support for ClearCase dynamic views. It also adds partial support for UCM deliver and rebase operations, and ClearCase/Rational

Different epoch values

落花浮王杯 提交于 2019-12-06 20:35:30
We have a rational multisite setup. There are two sites. Production and Disaster Recovery. Production is the primary site and DR is used as a backup. We access Prod on a daily basis and make our changes and check-in the codes. There was an issue with DR server, becuase of which rational services were starting and stopping randomly. We had scheduled a job to import sync packets from Production to DR, that seems to have failed.There are many packets which are still in shipping/ms_ship/incoming path. Now when i check epoch values at DR and prod, its different I run the following commands at DR