clearcase

How to add all the files in a folder to source control via cleartool command?

谁说我不能喝 提交于 2019-12-02 02:10:14
I am having a folder where lot of files and subfolders , adding it to source control via UI is consuming much time. How to add all the files (including files inside subfolder) to source control using cleartool? (I am using clearcase UCM) VonC As mentioned in " How can I use ClearCase to “add to source control …” recursively? ", clearfsimport is the way to go. However, clearfsimport will take a source an import it in your view, so: it is best to keep the source outside your view (to avoid confusion when ClearCase tries to add the source file in the destination which is the same directory) you

Annotate (“blame”) in CCRC?

左心房为你撑大大i 提交于 2019-12-02 00:42:05
In base ClearCase there is a "SVN blame"-style command called "Annotate" that shows who wrote each line in a versioned element. Is there a way to annotate using the remote client (CCRC)? VonC Only though command-line, for full ClearCase: See: cleartool annotate (or you have other commercial alternatives , including Tamir 's one Visual Annotate , which has a beta supporting CCRC) But cleartool isn't available for CCRC. CCRC has a CLI (command line interface) though. This thread mentions: The annotate command should be supported in both the CCRC Gui and command line (at least the command line to

ClearCase: Is it possible to deliver or rebase selectively?

ⅰ亾dé卋堺 提交于 2019-12-01 23:08:23
When delivering stream A to stream B, is it possible only to deliver selected elements (directories to be precise) from A to B? When rebasing a stream A from a baseline B, is it possible only to rebase selected elements (directories to be precise) from B to A? With ClearCase UCM: what you are delivering are baselines or activities what you are rebasing are baselines only. (and only baselines coming from the direct parent Stream, at that). So if you directories or elements are the only items of an activity, and that activity doesn't depend on other activities (which can happen when a deliver to

Labelling files with spaces in ClearCase

蓝咒 提交于 2019-12-01 15:29:17
We have a script that labels files recursively. Here is the command that executes the label command. cleartool ls -recurse -vob_only -visible -short | \ xargs cleartool mklabel -replace -follow VPCEUM_9.0.0.99 > label.txt 2>&1 When is encounter files with spaces the name such as /directory/d1/my file is here.doc , the command errors off. How do I get ClearCase/unix to accept the space? VonC You have tow approaches with cleartool mklabel : you can use mklabel directly, with the -recurse option. That will label all the files (with or without space) for you. But that can label files that are not

How do I check if I have a base clearcase or UCM?

非 Y 不嫁゛ 提交于 2019-12-01 14:15:24
I am new to ClearCase . I have used rational synergy before. We use ClearCase in our project for version control. In my old project, I have used rational synergy, in which we used to create "tasks" for any modifications in the files. I got to know that we have activities in ClearCase, which I want to use in our projects. As of now, we just check-out the files and modify and checkin the changes. But when I check my ClearCase --> Actions, I don't see the option ->WorkOn to start creating an activity. We are currently using the following version of ClearCase: Version: 7.0.1.D061004 Build id:

ClearCase Snapshot View Not Updating

怎甘沉沦 提交于 2019-12-01 14:07:10
I am using ClearCase for the first time, and am having a little trouble understanding snapshot views. I have a view with the config spec element * CHECKEDOUT element * /main/dev/LATEST load "\project\dir1" load "\project\dir2" load "\project\dir3" I am using the same config spec with a dynamic view without the load rules. I have checked in a file called "configSpecTest.txt" into "\project\dir1\subdir", and this shows up in my dynamic view. However, after calling cleartool update and being told it successfully updated, the file is not there in my snapshot view. I feel like I have a fundamental

Clearcase and java process : changing view does not apply

你离开我真会死。 提交于 2019-12-01 13:36:16
i have a simple application, which receives input from a user for a CC stream name, and is suppose to return the content of a specific file from this stream repository. I have tried doing this using a simple shell script: user enters stream name, java receives stream name, runs a process which runs a script "myccscript.sh" which contains "myinput=$1; cleartool setview $myinput" (or something like that). then i try reading the file and printing it's content in the java side. BUT, after the process is finished - the view is not the view from the user input - that environment was probably only

Is this config spec good enough?

 ̄綄美尐妖づ 提交于 2019-12-01 13:31:43
I am more a UCM rather than Base CC guy. Can anyone tell me if this config spec is good? I have some doubt at the last line. Is that ok without a element * /main/LATEST ? ~~~~~~ below is the request from the developer ~~~~~~~~~ i hope to have all their changes in the /main/nz_plusOne branch, even when they check-out file from /main/nz_mig . What does their config spec look like? I think it's something like element * CHECKEDOUT element * /main/nz_plusOne/LATEST element * NVAR_NETEZZA_3 -mkbranch nz_plusOne element * /main/LATEST -mkbranch nz_plusOne VonC You should always ends with element *

How to find out where the loaded files of ClearCase views?

随声附和 提交于 2019-12-01 13:23:55
We use both ClearCase UCM and base. One of the open questions we have is, how to find out where the loaded files of snapshot views are reside, by a given path of view storage directory? e.g. We have a view located in C:\views\myview.vws Sometimes the equivalent loaded files are in C:\views\myview directory, but sometimes not. I'm looking for a way to find where it is. I tried to find it out by cleartool lsview -l and cleartool desc - does not help. The Windows registry does not provide this answer as either (AFAIK). I confirm there is not information where a snapshot view (UCM or not) actually

Connecting a Snapshot View to Clearcase in RAD 7.5

≡放荡痞女 提交于 2019-12-01 13:20:26
I need some help connecting my RAD 7.5 workspace to a ClearCase source-controlled snapshot view. Here is what I have done so far. Creating a stream of the code in ClearCase - Done. Creating a dynamic view of the code in ClearCase - Done. Checking all files into source - Done, every file is part of the "File Element Version" in ClearCase for this dynamic view. Connect a Worspace to the Dynamic View - I don't know if this is necessary, but I have managed to do this. And no, I do not remember what I did exactly to make it connect to the source. Create a snapshot view from the source - Done. In