clearcase

How to make check-outs be unreserved by default using ClearCase command line tools

我是研究僧i 提交于 2019-12-24 05:39:09
问题 Is there a way to make cleartool checkouts unreserved by default? Perhaps a ~/.cleartool file or some environment variable? I understand the default can be set on the VOB (or all VOBs), but that option is beyond my control. The ClearCase version I'm using is: $ ct -version ClearCase version 7.0.1 (Wed May 30 17:04:58 EDT 2007) 7.0.1.0-RATL-RCC-IFIX01 (Wed Sep 19 16:08:10 EDT 2007) @(#) MVFS version 7.0.1.0-IFIX01 (Thu Sep 6 20:09:08 2007) built at $Date: 2009-12-08.14:59:16 (UTC) $ cleartool

Tool to list all source safe link files

亡梦爱人 提交于 2019-12-24 01:36:16
问题 My client is migrating from Source Safe to Clearcase. They need to list all the link files in the Source Safe database so the links can be carried over to Clearcase, as apparently all the source must be checked into Clearcase on day 1, losing any existing links. Are there any tools for creating this report, or perhaps even doing the full import into clearcase ? My plan is to write a powershell script to recurse Source Safe the SS folders, findings links using COM. Thanks. 回答1: As I have

VSS to Clearcase transition, appending comments

倖福魔咒の 提交于 2019-12-24 00:44:48
问题 Is there a way to perform a Clearcase checkin where the checkin comments are appended directly into the source file? This is like VSS does. Please, no debates on whether this is a good or bad thing to do, I have zero influence on these matters here. I need to have checkin data including the date, user, and comments appended (by clearcase) to the end of the file as in VSS. Is there a cleartool command option for this? Thanks 回答1: Martin is right. There is no "command" to do a "keyword

How To: move symlink keeping the target

夙愿已清 提交于 2019-12-24 00:33:23
问题 I need to move multiple symlinks within a VOB in a dynamic view. As described in my previous question, this is not as trivial as it sounds (to me), as the target path is saved relative to the link itself and not to the VOB root or anything like that. This wouldn't be a big issue, if ClearCase would adjust the path information in those links, but appearantly, it does not. Details: Let's assume following folder structure: /myVOB /Originals /LinksA /SubDir /LinksB Then moving a link to the file

How to filter the baselines(UCM) alone from describe command?

笑着哭i 提交于 2019-12-24 00:30:09
问题 As we are having many components , I am trying to describe all the baselines using following command cleartool describe -l baseline:Baseline_2.1.0.13@\My_PVOB It provides output like follows "Build 13" master replica: My_PVOB@\My_PVOB owner: Admin group: ABC stream:Components_Integration@\My_PVOB component: Baselines@\My_PVOB label status: No Versions to Label change sets: promotion level: INITIAL depends on: Baseline_2.1.0.13.8206@\My_PVOB (Comp1@\My_PVOB) Baseline_2.1.0.13.433@\My_PVOB

How to use clearfsimport to import files into an empty VOB

佐手、 提交于 2019-12-23 21:59:34
问题 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 view is created by this command: ct mkview -tag sqlite-dev -snapshot /home/clearcase/working/sqlite-dev The config spec is: element * CHECKEDOUT element * /main

Programatically determine if a given VOB is mounted in ClearCase

妖精的绣舞 提交于 2019-12-23 19:14:07
问题 I am trying to programatically determine if a VOB is mounted in clearcase. Specifically, I want to run a command and parse the output. However, I can't seem to find this information in cleartool describe . 回答1: cleartool lsvob \theVob should be enough If there is a star ( * ): it is mounted * \thevob If there is not: it is not yet mounted. See command lsvob. :_ By default, lsvob lists all VOBs registered in the current network region, whether or not they are mounted (active). The default

How to force GNU make to recompile the same object file used in two targets with different FLAGS

旧街凉风 提交于 2019-12-23 18:45:04
问题 Suppose you have have a makefile containing two targets as in the following: # targetA X86CPPTARGET += targetA targetA,SRCS = FILEA.cpp FILEB.cpp commonFile.cpp targetA.so,DEPSOL = libUsedByCommon1.cpp targetA,CPPFLAGS += -Ifakeinclude -std=c++11 # tartargetBgetA X86CPPTARGET += targetB targetB,SRCS = FILEC.cpp FILED.cpp commonFile.cpp targetA.so,DEPSOL = libUsedByCommon2.cpp targetB,CPPFLAGS += -std=c++11 targetA and targetB share a file, namely, commonFile.cpp which contains a number of

Clearcase dependencies list

心不动则不痛 提交于 2019-12-23 05:38:09
问题 I am doing a deliver and am having trouble with dependencies on clearcase. It shows that are dependencies found and in the list that shows are activities that are completed and have nothing related with the delivery. Is there a way to skip this and make the deliver? 回答1: No, you cannot skip those activities, especially if they have been delivered ( to another stream themselves). They are part of the stream timeline, and must be part of the deliver. If they aren't too big, you could: deliver

vobrpc_server.exe(7616): Error: Error from VOB database: “\MYVOB”

我们两清 提交于 2019-12-23 04:14:09
问题 Error encountered while loading component in snapshot views and corresponding vobrpc error says: vobrpc_server.exe(7600): Error: Error from VOB database: "\MYVOB". vobrpc_server.exe(7600): Error: db_VISTA error -901 (errno == "Invalid argument") vobrpc_server.exe(7600): Error: DBMS error in C:\CCVOB\MYVOB.vbs\db. vobrpc_server.exe(7600): Error: DBMS error in "\atria\lib\db\db__elem.c" line 162 The specific error " db_VISTA error -901 (errno == "Invalid argument") " is no where mentioned in