cleartool

COM reference or Command tool for ClearTeam Explorer

萝らか妹 提交于 2019-12-06 20:36:25
I have been using IBM Rational ClearTeam Explorer version 8.0.0. I like to come up with customized tool(WPF application) to performing ClearTeam actions like makebaseline, checkin, checkout. Is there any command tool and COM object availabe to perform these functions. I would be helpful if there are any reference link also. The official API for CM/ClearTeam is in java, not COM. It is the CM API , a standards-based Java API for ClearCase, which in the 8.0 release, adds support for ClearCase dynamic views. It also adds partial support for UCM deliver and rebase operations, and ClearCase/Rational

Where do new elements appear when mkelem is used?

为君一笑 提交于 2019-12-06 20:06:20
My config spec is set up as: element * CHECKEDOUT element * .../BRANCH/LATEST element * baseline -mkbranch(BRANCH) element * /main/LATEST When I make a new element I know it goes along with the rule /main/LATEST. When I do a cleartool ls I can find the new element, but how can I find the new element with a cleartool find command. Also this is assuming the new element has been checked in and all existing elements that where checked out under the branch have been checked in. The new element does not yet have any labels. I've been trying: cleartool find -avobs -branch 'brtype(BRANCH)' -version

How to annotate a folder in cleartool

馋奶兔 提交于 2019-12-06 16:34:09
I am trying to annotate a folder with command cleartool annotate folderName getting error cleartool: Error: Unable to create file "test_tut_element_vob.ann": Permission denied. I am able to annotate the files. VonC The cleartool annotate man page mentions the following caveat: The annotate command extracts information from the element's versions. To do so, it invokes the annotate method of the element's type manager. Only the text_file_delta and z_text_file_delta type managers (which correspond to the predefined element types text_file and compressed_text_file ) include an annotate method. You

clearcase symbolic link file not visible from a snapshot view

天涯浪子 提交于 2019-12-06 15:41:27
I have created a symbolic link (see below) to a version controlled file from a different vob ( VOB_II ) and the file is visible from a dynamic view whereas it’s not visible from the UCM snapshot view. A.txt --> ..\..\..\VOB_II\SampleDir\A.txt I have the following selection and load rules. element \VOB_II\SampleDir\A.txt ...\branch1\LATEST load \VOB_II\ SampleDir Any ideas why the file is not getting loaded in the snapshot view? I could not figure out what’s wrong. Any help or inputs are much appreciated. VonC First, do a cleartool ls in C:\path\to\my\view\VOB_II\SampleDir The status can

How to find the view location in my linux home dir

笑着哭i 提交于 2019-12-06 13:37:41
I have many views in my Linux home dir under different folders mentioned below. Home CCVIEWS views Development testproject : : etc. Now i want to list all the clearcase views in my linux dir in below format to work on other script. user_test_Work1.vws user_test_Work2.vws user_dev_Work1.vws user_newproject_Work.vws user_cqfix.vws How to search all the views in my home directory created by me and display the list of the views in shell script? Current at a time I can display one folder views but I need to search and display all the views in the above format. My views are dynamic views only not

clearcase findmerge supress new element/directory

跟風遠走 提交于 2019-12-06 12:34:04
问题 I have two views say A and B , c:\a_view A - View -------Folder_1-->test.bat -------Folder_2 -------Folder_3 d:\b_view B - View -------Folder_1 -------Folder_2 When I do findmerge (with merge option): c:\>cleartool findmerge "d:\b_view" -ftag a_view -type d -merge I am getting output as: d:\b_view B - View -------Folder_1-->test.bat(Merged file) -------Folder_2 -------Folder_3 (Merged directory) which is ok as per findmerge behavious, But I want to merge only existing folder, i.e Folder_1

How to permanently change an UCM activity name?

你。 提交于 2019-12-06 12:23:14
问题 I wanted to re-name my activity name from cleartool command-line using the commands $ cleartool lsact 2016-04-14T17:10:17+05:30 foo_eg1 adam "foo_eg1" $ cleartool rename activity:foo_eg1@/vobs/fw-ucm activity:bar_eg1@/vobs/fw-ucm Renamed activity from "foo_eg1" to "bar_eg1". When I check for my activity name again:- $ cleartool lsact 2016-04-14T17:10:17+05:30 bar_eg1 adam "foo_eg1" I can see the older activity name still pointed here and from the below command too. $ ccase showact .. title:

How to execute cleartool command within perl

拥有回忆 提交于 2019-12-06 11:42:53
Sorry if its to naive. I am wanting to write a simple PERL script that will accept two arguments(Here Commit Labels) which are taken as inputs to cleartool command and provides me with a suitable output. My Code: #!/usr/bin/perl $file1 = system('cleartool find . -version "lbtype($ARGV[0])" -print > filename1'); $file2 = system('cleartool find . -version "lbtype($ARGV[1])" -print > filename2'); $file3 = system('diff filename1 filename2 > changeset'); print $ARGV[0]; print $ARGV[1]; print $file3; close filename1; close filename2; close changeset The output now is 3 empty files: filename1

clearcase ucm activity list between baselines

强颜欢笑 提交于 2019-12-06 08:12:58
How to get the list of the activities between two baselines in a file in clearcase ucm ? Cleartool diffbl -lsact -pred latestlable >>activities.txt is the command used . VonC Don't forget to add @\yourPVob , as shown in cleartool list activities since last 7 days . cleartool diffbl -act -pred baseline:latestlable@\yourPVob Note: on Unix, this would be @/vobs/yourPVob . It is best to use the baseline selector syntax (see diffbl man ): baseline-selector is of the form: [baseline:]baseline-name[@vob-selector] and vob is the baseline's UCM project VOB. Here is an example in python found on

Cleartool - find unloaded/removed files

﹥>﹥吖頭↗ 提交于 2019-12-06 07:42:24
Is there a command in Cleartool which i can use to list all files which have been removed from a branch? Thanks The basic command to find anything in ClearCase is... cleartool find , also illustrated in " ClearCase UCM: Need to See Content of Deleted File ". In your case, you would search for versions of files which aren't at the LATEST of a branch: cleartool find . -type f -version "! version(.../BRANCH/LATEST)" -print (see version selector for more on this ' .../ ' notation) To display only the file (and not all the versions): cleartool find . -type f -element "! version(.../BRANCH/LATEST)"