clearcase

Remove unused source code files

你。 提交于 2019-12-18 05:18:13
问题 In Visual Studio 2010 I have a large solution that contains number of .cs files that are no longer used (not referenced in .csproj), but still present in code repository (ClearCase). Do you know of any tool / extension / script that would find all such files? One could write a script that goes through all projects' directories, takes all files that are checked in and than compares against content of a project file. In it is not there, than we have a candidate for deletion. It is not too

What is the best strategy when migrating from ClearCase to SVN?

那年仲夏 提交于 2019-12-18 03:56:21
问题 We are considering moving from ClearCase to Subversion. The project has been there for a while (7 years) and there are three "major" versions (branches) that we actively support, plus some occasional fixes in older releases. The project is fairly large - around 2 mln lines of java code. I am curious if there is someone that has done similar migration. Will SVN be able to handle such a large project? Does it make sense to migrate all historical versions/branches? Are the tools that could do it

What is the best strategy when migrating from ClearCase to SVN?

空扰寡人 提交于 2019-12-18 03:56:03
问题 We are considering moving from ClearCase to Subversion. The project has been there for a while (7 years) and there are three "major" versions (branches) that we actively support, plus some occasional fixes in older releases. The project is fairly large - around 2 mln lines of java code. I am curious if there is someone that has done similar migration. Will SVN be able to handle such a large project? Does it make sense to migrate all historical versions/branches? Are the tools that could do it

Save history from Clearcase to Git?

ぃ、小莉子 提交于 2019-12-18 02:46:43
问题 At my company, we are transitioning (fully) from ClearCase UCM to Git. We will not be using Clearcase after some time using Git. In the transition, are there any good tools that will bring the history from ClearCase into Git somehow? Also, I have read a lot that one component = one repo. However, we want to reorganize and split the current component into smaller parts. (The person that set up ClearCase didn't really plan ahead.) Is there also a way to do this? Any comments would be

cleartool question

拥有回忆 提交于 2019-12-17 21:34:35
问题 Lets say I have a directory at \testfolder, and the latest is currently at /main/10. I know that the operation resulting in testfolder@@/main/6 is to remove a file named test.txt. What's a sequence of cleartool operations that can be done in a script that will take "testfolder@@/main/6" and "test.txt" as input, and will cat out the contents of test.txt as of that time? One way I can think of is to get the time of /main/6 operation, create a view with config spec -time set to that time, and

Display Current Baseline with Cleartool

拈花ヽ惹草 提交于 2019-12-17 20:39:50
问题 How can I view the baseline on which the current view is based? I could find information only on how to view the currently recommended baseline for a stream cleartool desc -fmt %[rec_bls]CXp stream:myProject_Int@\myProject_pvob #This gives the currently recommended baseline for the stream Basically what I am looking to do is update the Build Notes. 1. Determine the baseline on which the last rebase was done 2. Determine the current recommended 3. Make a list of activities that have been

Passing a Variable to a script calling itself

不打扰是莪最后的温柔 提交于 2019-12-17 19:55:39
问题 My Script is storing a ClearCase View in a Variable. To operate in this View, the Script needs to call itself inside the View again, after it started the View. The Code looks like this if($params{ViewSet} eq 'no') { # Start the View # Store the View in $View # Call the Script in the new-set View with parameter -ViewSet yes } if($params{ViewSet} eq 'yes') { # Do Work inside the View } The problem is, obviously the Variable $View is not defined when I call my script the second time, since it is

How do I integrate Beyond Compare with ClearCase?

左心房为你撑大大i 提交于 2019-12-17 18:22:36
问题 I would like to integrate Beyond Compare with ClearCase so that I can use it for diffing and merging files, instead of the awful tools provided by ClearCase. Does anyone have instructions for performing this integration? 回答1: As mentioned in my previous answer, just modify the map file located in: # up to ClearCase 7.0 c:\program files\rational\ClearCase\lib\mgrs or # ClearCase 7.1 and more c:\program files\IBM\RationalSDLC\ClearCase\lib\mgrs Each map line has 3 parts: the CC filetype, the CC

How to find all checkedout files with ClearCase cleartool?

。_饼干妹妹 提交于 2019-12-17 18:19:01
问题 I'm trying to setup our ClearCase with Hudson for a continuous integration (and deployment later). I finally got a UCM view for the build, but unfortunatly our build process checks out files to store the build number. Now the build broke and the file is still checked out, preventing the next build . I already now about cleartool find . -type f , but I can't figure out how to find checked out files. I know the syntax of UNIX' find, so that isn't a problem. Can someone point me to a

how to find root[folder] for each component using cleartool?

放肆的年华 提交于 2019-12-17 16:53:38
问题 How to find root folder in which a component is associated? I am able to find it manually through project explorer -> Components-> properties How to do it using cleartool command. I need it as i need to create config spec which can be applied in base clearcase view and view the UCM view contents. 回答1: Have a look to the options of "Format strings for command output" (fmt_ccase): cleartool descr -fmt "%[root_dir]p" component:aComponent@\aPVob You can get that way to root directory (usually