clearcase

How can I retrieve a file through Label in Config Spec?

最后都变了- 提交于 2019-12-29 07:04:05
问题 I have labelled a file " Test.java " with a label called " My_Label ". When I try creating a view with the below config specs, I am unable to get the file in Clearcase Explorer. element * CHECKEDOUT element * My_Label Could anyone please tell where am I going wrong in the above config spec? 回答1: That selection rule alone isn't enough. You need to add, before that rule, other rules that will select the right version of the parent directories. In other words, if your parent directory (or one of

Config spec in rational clearcase

五迷三道 提交于 2019-12-29 01:31:47
问题 I am so much new to these clear case tool.I am learning because i have a project to work on. i just learned the default config spec is element *CHECKEDOUT element */main/LATEST So the new version is created in the main branch after the previous version. But I have been trying these, and I just changed my config spec to these element *CHECKEDOUT element */main/2 After those settings, when I click the file it says " file not found ": I cannot check in or check out. And then I changed to default

clearcase command to backup predecessor version of a file?

ε祈祈猫儿з 提交于 2019-12-28 07:04:27
问题 what is the clearcase command to backup predecessor version of a file ? 回答1: You can try cleartool get to copy any old version of a file into a temporary file. cleartool get –to C:\build\foo.c.temp \dev\hello_world\foo.c@@\main\2 More generally, the question "In ClearCase, how can I view old version of a file in a static view, from the command line?" will detail all the possibilities to access the content of previous versions of a given file. 来源: https://stackoverflow.com/questions/5381335

Find all unmerged files/elements in ClearCase

最后都变了- 提交于 2019-12-28 07:01:08
问题 We use ClearCase where I work and I'm trying to figure out how to find any files that have been modified but not merged up. We have a main branch at the very top level in ClearCase, and this is where the final source code changes are merged to and where we do our formal release builds from. We then have an integration branch under main where integration issues are worked out. When we get everything working and tested in the integration branch, we merge the integration branch up to main. For

Detect hijacks with only content change in ClearCase snapshot view

心已入冬 提交于 2019-12-28 04:27:08
问题 Normally, an update of a snapshot view detects hijacks by examining file size and timestamp. Is there a way in clearcase to detect a file whose size and timestamp is unchanged but the file content has changed? 回答1: This isn't taken into account by ClearCase, since it assumes that, if the content has changed, the timestamp also has. See "How the update operation determines whether a file is hijacked": When a version is loaded into a snapshot view, the file size and last-modified time stamp (as

Clearcase plugin for eclipse usage

僤鯓⒐⒋嵵緔 提交于 2019-12-28 03:04:07
问题 I am new to clearcase and software development using version control system. I am using clearcase for version management currently. I use eclipse IDE for software development. I installed clearcase plugin for eclipse over the internet from sourceforge.net website. Some how the plugin does not work. The softwares that i installed are: IBM Rational Clearcase 7.0, Eclipse Galileo 3.5 and clearcase 2.2.3 plugin for it. I am not able to checkin or checkout files using the plugin. Can some one give

How can I interact with ClearCase from Perl?

送分小仙女□ 提交于 2019-12-28 02:18:48
问题 My project needs couple of things to be extracted from ClearCase data using the Perl script in a excel sheet,those are - By giving two particular time line or two baseline. all the activity associated within that baseline (column header "activity") Owner's id (column header-Owner) all the element associated within a particular activity. (column header-"element details") For each element the versions associated (column header-"Versions") for each element the total number of lines of code,total

Command to find all view private files in the current directory recursively

帅比萌擦擦* 提交于 2019-12-27 17:39:49
问题 What is the clearcase Command to find all view private files in the current directory recursively? 回答1: The usual commands are based on cleartool ls: ct lsprivate : but it is only for dynamic views, not snapshot views ct ls -rec -view_only : at least, it works in both snapshot and dynamic views However both list also your checked-out files. If you want only the private files, ie skipping the hijacked/eclipsed/checked-out and symlinks , you need to filter those out. In Windows, that would be:

How does one find the ClearCase registry server name for a view?

♀尐吖头ヾ 提交于 2019-12-24 18:01:42
问题 I want to use the cleartool lsview -quick command but it requires a host name argument, also called a "registry server". Can one use a cleartool command or examine a client log file to determine which host/registry server a given view is using? 回答1: I should have looked harder. The answer is cleartool hostinfo -long which will include the Registry host in the output listing. 回答2: cleartool hostinfo is not ideal, because not always meant to be parsed (on Unix for instance, it can be truncated)

How does one find the ClearCase registry server name for a view?

允我心安 提交于 2019-12-24 18:01:42
问题 I want to use the cleartool lsview -quick command but it requires a host name argument, also called a "registry server". Can one use a cleartool command or examine a client log file to determine which host/registry server a given view is using? 回答1: I should have looked harder. The answer is cleartool hostinfo -long which will include the Registry host in the output listing. 回答2: cleartool hostinfo is not ideal, because not always meant to be parsed (on Unix for instance, it can be truncated)