clearcase

ClearCase dynamic view doesn't show empty files

自作多情 提交于 2019-12-08 05:48:59
问题 We usually use snapshot views and they work just fine. However, I tried to use a dynamic view recently and doesn't show empty files in the working directory. We use Python so namely, it doesn't show empty __init__.py files, which breaks most of our code. All other files in the same directory, and non-empty __init__.py files exist. Is this a known issue? What can I do? Running cleartool ls says about the __init__py file: "no version selected". My config spec looks something like this: element

Change trigger in Clear Case Remote Client

半腔热情 提交于 2019-12-08 05:45:27
In Clear Case Remote Client , we use to create new VOB based on VOB selection rule. I checked out a couple of files, but when trying to checkin , I obtain following error - CRVAP0087E CCRC command 'checkin' failed: /bin/sh: /vob/cspecs/triggers/scripts/checkin.sh: No such file or directory ClearCase CM Server: Warning: Trigger " checkin_SomeOtherBranch " has refused to let checkin proceed. Please note, as per my vob selection rule, remote client should trigger, checkin_MyBranch for checkin. As per this SO post , we can redefine existing trigger with mktrtype , Since command line is not

Removing ClearCase vobs

浪尽此生 提交于 2019-12-08 05:45:18
问题 We have a ClearCase server installed on Solaris box and there are several vobs replicated in a multi-site environment. Now as this Clearcase server is becoming old we have setup an new Server on Windows and able to bring that new server into multi-site with all the required vobs. Now we would like to remove/decommission the vobs from old solaris box and want to free up the space occupied by those vobs. Can any one suggest the best procedure to do this and also point us to the links for that

Trying to undo a cleartool rm

百般思念 提交于 2019-12-08 05:45:17
问题 I was trying to migrate a file from directory A to directory B in a branch, call it file.txt. What I did was: cd A cp file.txt ../B/ ct rm A cd ../B ct mkelem -ci -nc file.txt Thereby losing all the history. I am trying to recover from this to do what I should have done which is simply ct mv file.txt ../B I read that for this I should do something like this: cd A ct ln .@@/main/?/file.txt ./file.txt where luckily, from another view, I've figured out ? should be 27. Unfortunately when I try to

can't read the foundation baselines?

旧巷老猫 提交于 2019-12-08 05:43:54
问题 This looks like a serious problem to me. I can't get the foundation baseline info on the integration stream. Can not view the properties/baselines in spider1_wells_integration in clearprojexp tool! I got the error message: Unable to read the foundation baselines 回答1: If you cannot do it from the GUI, try it from the command line (DOS or shell) cd /path/to/your/view cleartool lsstream -anc -cview # just to check your current stream cleartool descr -fmt "%[found_bls]CXp" stream:myStream@\myPVob

Why ClearQuest and ClearCase 9 are not longer support Native client integration?

牧云@^-^@ 提交于 2019-12-08 05:36:19
问题 When I attempt to get a ClearQuest Record or make a new one using ClearCase version 9, now it tells you that native client is not supported, also crmregister is not allowing you to add databases without an url, is there any way to keep it integrated using native CQ client? 回答1: "About using the LAN ClearCase/WAN ClearQuest UCM integration that utilizes the ClearQuest OSLC REST interface" explaines how ClearCase UCM and ClearQuest record used to communicate up to CC 8.0: Previously, the

sync two vobs file (by clearfsimport) without checking in the updated file

那年仲夏 提交于 2019-12-08 05:30:05
问题 I am using following command to sync B vob files from A vob clearfsimport -master -follow -nsetevent -comment $2 /vobs/A/xxx/*.h /vobs/B/xxx/ It works fine. But it will check in all the changes automatically. Is there a way to do the same task but leave the update files in a check out status? I want to update the file for B from A. Build my programme, and then re-cover the branch. So if the updated files is an check out status, I can do unco later. Well with my command before, everything is

How to exit from clearcase view and not from script?

久未见 提交于 2019-12-08 05:20:45
问题 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. 回答1: I would rather try without using cleartool

How can i modify vob group in clearcase in windows?

巧了我就是萌 提交于 2019-12-08 05:18:48
问题 My views are in none group but user and administrator is in clearcase group.so I am not able to access my vob in view server. How can i change my view group? 回答1: You would need to use fix_prot: see "How to change the group name in view dir (*.vws) since primary group in pvob is changed?" fix_prot [–f/orce] { –root [–r/ecurse] [–recover {–chown user | –chgrp group } | –replace/_server_process_group| [–r/ecurse] [–type { d | f }] [–chown user] [–chgrp group] [–chmod permissions] } pname … I

Cleartool difference between -element and -version

佐手、 提交于 2019-12-08 05:18:44
问题 When searching for a way to find all files in a clearcase repo that changed since date X i found two approaches cleartool find . -type f -branch "brtype(abranch)" -element "{created_since(10-Jan)}" -print as stated here and cleartool find . -type f -branch "brtype(abranch)" -version "created_since(10-Jan)" -print as (though modified to resemble the same branch) found here What is the difference between the created_since filter in -version and -element? The results do differ. 回答1: In