clearcase

How to download a file from ClearCase?

旧街凉风 提交于 2019-12-08 06:51:23
问题 Hi ClearCase Experts, I just want to download a the latest version of a file from Clear Case for which I have the complete path & Clear Case View Name. Also we can safely assume that there is only one branch. I looked for Clear Tool Commands HERE but, non of them seems useful,for my purpose. I don't want to do a checkout/check-in etc. I just want the latest version of file. Though, the requirement is fairly simple. I am not able to get this done because I don't see any direct way to do this.

Cleartool - List Objects with Their Labels

China☆狼群 提交于 2019-12-08 06:49:36
问题 I want to list all objects (including files and directories) recursively with labels their have. When I run the following command, it writes only Rule. It does not write all labels on any object. cleartool ls -r -l /view/stable/MYVOB/MyProject Result : version /view/stable/MYVOB/Car.java@@/main/3 Rule: element * TO_TEST version /view/stable/MYVOB/Driver.java@@/main/2 Rule: element * TO_TEST How can I list the all labels ? In addition, listing modifiers and modification date will be plus for

Cleartool find command within a directory only

故事扮演 提交于 2019-12-08 06:46:27
问题 I'm using the following command: cleartool find . -all -nvisible -print Its returning information for every file in my /vob I really want to limit the search to a specific directory, but I can't get the syntax correct. Ex: cleartool find /vob/dir1/dir2/ -all -nvisible -print Is there a way to do this? Thanks! 回答1: No, by looking at the documentation of cleartool find: -a/ll With pname arguments, modifies the meaning of each argument to specify its entire VOB, not just a single file or

what is the impact of obsolete baseline in UCM?

不想你离开。 提交于 2019-12-08 06:44:39
问题 when baselines are obsolete will it have any ill-effect? For example if the baseline was already rebased by many, if i obsolete the baseline what will happen? 回答1: You can, but shouldn't obsolete a baseline which is currently used as a foundation baseline on an existing stream. Even if it is possible, it used to have some side-effects like: stopping other baselines from being seen by the " lsbl " command (swg1IC42113, fixed in ClearCase 7.0.x). not showing the Baselines when foundation

Different epoch values

情到浓时终转凉″ 提交于 2019-12-08 06:37:44
问题 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

Clearcase renaming issues

一笑奈何 提交于 2019-12-08 06:33:40
问题 I am experiencing a problem with Clearcase. What happened was the following: I had a file ValidationScripts.js, and wanted to create another file in the same directory, MiscScripts.js. However, instead of creating a new file, I accidentally renamed ValidationScripts.js to MiscScripts.js. I tried to recreate the ValidationScripts.js file using merge, and now I am stuck with the same file, but with two different names: ValidationScripts.js and MiscScripts.js. So, whenever I try to change to

How to hook PMD + Clover in Hudson build using maven?

℡╲_俬逩灬. 提交于 2019-12-08 06:26:23
问题 we have newly set-up up a Hudson (yes.. Hudson, not Jenkins) CI. The job scheduled in Hudson does the following a. Connects to IBM ClearCase repository to download the latest source code b. Compiles all java source code and Creates a WAR file (by running the project's pom.xml) c. Deploys it to a Tomcat6 server Now, i want to take it one more step further in-terms of bringing in automatic 'Static Code Analyzers' in this process. I installed PMD/Clover/JavaNCSS plugins in my Hudson instance,

How do you get all files of a VOB as of a given date in a clearcase vob?

社会主义新天地 提交于 2019-12-08 06:24:41
问题 I have a fairly large codebase with several directories and files and I would like to check out a view or have a view as of a given date (Septermber 12th). I am manually checking file histories and doing ct get -to someOtherDir/FileName FilenName@@/main/## and this is extremely painful. I wonder if there is a way to do a checkout and load everything as of a particular day at once? 回答1: The easiest way is to make a separate dynamic view, with a config spec including a time-based selection rule

Removal of clearcase views involves any housekeeping?

非 Y 不嫁゛ 提交于 2019-12-08 06:19:37
问题 Removing views which outlived its purpose, simple removal(Removing a view and its related records from a VOB) or should we perform any sort of housekeeping on the branches, elements etc. the views have been used to amend? 回答1: No: the versions/branches can exist independently from the views. You can simply do a cleatool rmview (in order to remove the tag and unregister the view). The only cleanup you can do is to remove the checked out versions which are still recorded by a vob (even when a

In ClearCase how long does it take for a changeset and dynamic view to be updated after adding a new file to source control?

穿精又带淫゛_ 提交于 2019-12-08 05:57:28
问题 I am trying to understand how long ClearCase operations take after performing the add to source control operations. If I am working through a CCRC snapshot view and I add a file to source control, how long will it take for the changeset to be updated with the new line, and how long until the operation completes will the new file be available under a dynamic view pointing to the stream that the file was checked into? Is there any way to speed up that process by invoking a manual update of the