I'd like to use my own diff when working in a clearcase snapshot view. As far as I can see, there is no way to specify a diff tool when running "cleartool diff", so I was thinking I could run something like "mydiff <predecessor file> <modified file in my view>", but I don't know enough about clearcase to be able to find the "predecessor...
Is it possible to get a list of all the check-ins I've made within a given source code directory tree using cleartool? If possible I'd like to see when the check-in was made and the file version. I'm using Windows.
Thanks in advance.
...
Hi everyone,
I'd like to find files in ClearCase that are labeled with a specific label but that do not have any other labels set.
For example, if I have files labeled like this:
file1 LBL_A, LBL_B
file2 LBL_A
I'd like to have a query that gives me just file2 and not file1.
Is there a way to do this with cleartool find? If this is ...
Good afternoon,
seems like I am somewhat stuck in CC-land these days, but I have one (hopefully) final question regarding proper CC-handling:
When using the CC View Creation Wizard with the two steps / details below, I can create a proper Snapshot view on my machine perfectly fine, however when trying to do the same with the mkview com...
I am running an asp.net application (VS2008/.net 3.5) and when running it under VS in debug more it works fine.
It reads files and directories from a network share happily.
I can run "cleartool startview [dynamic view name]" ok, I can "cleartool mount [vob]" happily.
But if I try to test for the existance of a file within the vob it c...
We currently use clearcase on a project, and there is an HTML file that was generated with clearcase that contains all of the filenames of the files that were included in a label.
I am supposed to generate this file with a different label. I know how to get all of the filenames that were included in a label using the cleartool command l...
This command does not work:
cleartool protect -chmod 770 <vob-tag-name>
i get the following error:
cleartool> protect -chmod 770 vob-tag-name
cleartool: Error: Unable to access "vob-tag-name": ClearCase object not found.
The VOB tag is valid and points to the correct VOB location.
What am I doing wrong?
HELP!
Thank you!
...
As described in one of the answers to SO question "Any way to use a custom diff tool with cleartool/clearcase?" I have installed WinMerge and a single diff opens fine in WinMerge based on a command of the form
cleartool diff -g filename filename@@clearcase-virtual-path-to-version-I-want-to_compare-to
But when I run that command in cygw...
Is there a way to make cleartool checkouts unreserved by default? Perhaps a ~/.cleartool file or some environment variable? I understand the default can be set on the VOB (or all VOBs), but that option is beyond my control.
The ClearCase version I'm using is:
$ ct -version ClearCase version 7.0.1 (Wed May 30 17:04:58 EDT 2007)
7.0....
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 con...
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 . ...
For example, the current config spec is "element * /main/LAETST".
there is a file -"A.txt", current version is 3 and a label named "LB" was applied on its version 2 before.
I wanna a cmd to query all files which do not apply label "LB" on its current version.
Obviously, file "A.txt" should meet the query.
How to write the clearcase cm...
I wanna find *.cs and *.cpp files through cleartool find command. But it failed.
cleartool find "M:\test_view\code" -name "*.cs *.cpp" -print
Nothing can be found based on above even there are matched files in that folder.
How to set multiple file-name patterns ?
...
Hi all,
I'd like to create a dynamic view that only shows the files a user created/modified for a particular label.
Right now, I am listing all of the files in the label and comparing that with the previous label.
If I have to use cleartool to find the files, that is fine with me. I'd like the process to be more automated than it cur...
I'm trying to change the ownership on a VOB, and I see that the cleartool protect command has a chown option. It's asking for a pname, and I can't seem to find documentation on what a pname is or how to specify one. I guess my questions boil down to:
What's a pname? What's its format?
How do I specify the pname for a VOB?
Is there d...
If a file A is not symbolic link, we can use describe to get the labels which were applied on its current version.
But if it is symbolic link, we can just use describe to get a relative path of the target file. Is there any easy way to list the labels of the target of a symbolic link?
...
I want to checkout some files from a batch script, but since we use UCM checking out files needs to be associated with an activity. Is there an easy way to show the GUI for creating/selecting an activity to associate the checkout with?
...
One of the shops I'm working at relies on dynamic views in ClearCase. The established norm has been to create a new view for each project effort. Over time I've found that I've only needed to have one or two views concurrently active. I've taken to "reusing" a view by changing the config spec (subsequent to check-in, label, release, ...
Hi all,
Having a regular size-efficient backup for only the modified checkedout elements in all views would be a great thing for us, since a great deal of the defined dynamic/snapshot views cannot be included in the daily backup policy.
The following ksh code is near to what we would need for a dynamic view, but it trivially assumes tha...
Hi , I would like to know if below my need is possible in clearcase :
Say , I have 15 different views (Dynamic or Snapshot) created (from different users/developers), I want get the "config spec" using some kind of cleartool command (Without having to right click on the view and select the configspec from windows context menu).
Finall...