clearcase

clearcase: Backup for only modified checked-out elements in all views

大城市里の小女人 提交于 2019-12-24 17:22:32
问题 Having a regular size-efficient backup for only the modified checkedout elements in all views would be a great thing for us, since a great deal of the defined dynamic/snapshot views cannot be included in the daily backup policy. The following ksh code is near to what we would need for a dynamic view, but it trivially assumes that the first line in the config-spec file for the view always selects the checked-out element first ( *element * CHECKEDOUT* ). It will not work well in general. For

Adding Checkout (recursively) to context menu not working

浪尽此生 提交于 2019-12-24 16:16:22
问题 I'm doing like this ..... but i'm not able succeed... For the check out recursively option, do the following: Start the clearmenuadmin.exe utility (to do this, click Start > Run, and type clearmenuadmin.exe) In the Object type tab, select the directory object. Choose checked-in as the Object state Click the new button in the Available menu Choices pane, and then enter the following information in the appropriate fields: Menu Text: Checkout (recursively)... Help Text: Check out the selected

Unable to resolve symlink

给你一囗甜甜゛ 提交于 2019-12-24 14:28:34
问题 When updating my clearcase (snapshot) view I get the following symlink errors: Unable to resolve symlink "setups.cmd". The symlink target will not be loaded. Unable to resolve symlink "setup.sh". The symlink target will not be loaded. Unable to resolve symlink "setupwithdomain.doc". The symlink target will not be loaded. What do I do or tell my admin to do to get rid of this errors. 回答1: Are you on Windows? And with which ClearCase version There is this IBM Technote, which explains why

ClearCase: Version-extended pathname in a baseline

橙三吉。 提交于 2019-12-24 11:08:28
问题 Is it possible to obtain the version-extended pathname of an element that belongs to a baseline? For example, if I have a file name /vobs/myproj/mydir/myfile.txt and a baseline bl_rc11 in a UCM project, is there a cleartool subcommand that will retun the version-extended pathname of /vobs/myproj/mydir/myfile.txt that belongs to bl_rc11 ? 回答1: This should print the extended pathname of any myfile.txt with the right baseline cleartool find . -name 'myfile.txt' -version 'lbtype_sub(bl_rc11)'

How do I list Clearcase versions without the Fully-qualified verison?

旧街凉风 提交于 2019-12-24 11:07:21
问题 In Clearcase: I'm trying to find the names of all files in the current view without a specific label. So far I've come up with the following: cleartool find -cview -all -version '\!lbtype(LABEL_1)' -print But this ends up displaying the filenames with the "@@/main/BRANCH1/SUBBRANCH" appended to the end, and I really want just the filename. I've tried adding a -short, but the find command doesn't like that option, and I can't find an option in the manuals to change the behavior. 回答1: Found it:

how do I create ADMIN VOB

三世轮回 提交于 2019-12-24 10:50:33
问题 I am having a doubt in creating an admin vob. Can anybody give an example in commandline? It is urgent. update: thanks vonc for giving me the answer but i am using base clearcase and when i am creating tag to adminpvob its not treating as adminvob. Can you please explain me in detail with an example. 回答1: If you are using UCM, you need to create an Admin PVob in order for all UCM components to see each others. If you are using base ClearCase, a simple Vob is enough (remove the ' -ucm ' option

Clearcase running commands from a script (error: Bad phone number)

杀马特。学长 韩版系。学妹 提交于 2019-12-24 09:14:40
问题 Hoping someone might have some insight here. I have a small shell titled xrunner.sh. #!/bin/bash ct checkout -nc parentFolder cd parentFolder/ ct mkdir -nc directory ct checkin -nc directory cd .. ct checkin -nc parentFolder pwd When the commands are run individually on the CLI they all work fine, When run from the bash however the following is thrown back at me: ct: bad phone number -- parentFolder ct: bad phone number -- -nc ct: bad phone number -- checkout : No such file or directory ct:

what data to collect for migrate code from mainframe to clearcase

荒凉一梦 提交于 2019-12-24 09:11:49
问题 I am just curious what data or info. I have to collect to migrate the code from mainframe to ClearCase. Any tutorial will be really helpful. 回答1: If you are speaking about data without history (just a bunch of files), then all you need is to: be able to export that group of files import it in a ClearCase view (typically using clearfsimport ) See: "How to use clearfsimport to import files into an empty VOB" and "How can I use ClearCase to “add to source control …” recursively?" 来源: https:/

Config spec of the clearcase vi

柔情痞子 提交于 2019-12-24 07:25:48
问题 I would like to know if below my need is possible in clearcase : Say , I have 15 different views ( Dynamic or Snapshot ) created ( from different users/developers ), I want get the "config spec" using some kind of cleartool command (Without having to right click on the view and select the configspec from windows context menu). Finally I would like to store/track all the config spec's from all the developers and apply the continuous integration (Hudson) build on all those config spec's. Yes ,

Create ClearCase View using CAL

一世执手 提交于 2019-12-24 06:35:00
问题 I'm trying to create a new view in CAL. I know that I can use the IClearTool interface to set up the view via an appropriate command line, but am wondering if there is also a way to do it via the IClearCase interface. The documentation suggests that it's not possible, but I'd like to be sure. :) 回答1: No I didn't see any obvious way to create a view other than using a cleartool command. This old example is actually using IClearCase ... to get Cleartool : ClearCase.ClearTool CT = new ClearCase