Monday, December 20, 2010

Base Clearcase Analyst

BASE CLEARCASE ENGINEER
Netpixel, Inc.  -  Secaucus, NJ

Application + Software Source Code Version Control Management Provide/Perform Base Clearcase + Multisite Administration (including all installation, configuration, patch, replication, server/client/user, process/procedure, etc. supports.)... Application...


View the original article here

Re: What's evil about rebase with checkouts?

Permlink Replies: 7 - Pages: 1 - Last Post: Dec 17, 2010 12:12 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 282
Registered: Sep 04, 2008 05:41:32 PM What's evil about rebase with checkouts?
Posted: Dec 16, 2010 01:58:45 PM Hi

My client wants me to automatically rebase all the rest of streams after a final deliver to the production. I can only do this with "Allow rebase to proceed with checkouts in the view" in the project. I've never done this before, so can anyone tell me what's the consequence?

Thanks
Jirong

http://www.ibm.com/developerworks/rational/library/3792.html

Can I rebase with files checked out?

Checkouts are not allowed during rebase (so we could easily support the cancel operation for rebase). If checkouts were allowed, UCM would need to store a copy of all checked out files (as merging may be required if some files are affected by the rebase). This functionality could be provided in a future release, but for this release of UCM you cannot have any checkouts in your development stream during rebase.


Posts: 571
Registered: Nov 19, 2007 06:06:36 AM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 03:34:52 PM   in response to: Jirong_Hu in response to: Jirong_Hu's post Prior to CC v7 (or 7.1), you couldn't rebase if any checked-out file was found on the target stream (even if this file wasn't part of the change-set).
Starting from V7, when you enable "Allow rebase to proceed with checkouts in the view", you can rebase anytime unless the checked-out file is part of the change-set that the target stream is going to be (re)based on.

Tamir Gefen, GoMidjets


Posts: 699
Registered: Jun 25, 2007 04:53:38 PM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 04:09:58 PM   in response to: Jirong_Hu in response to: Jirong_Hu's post CC 7.0.1 added the ability to rebase a stream with checkouts, but the rebase will fail if a merge is needed with a checked out element (whether or not there is a merge conflict). This is because the checked out version is already linked to an existing activity and can't also be linked to the rebase activity. A version can only be associated to exactly 1 activity at a time.

I think your client's request for you to rebase all child streams is NOT VALID. Aside from potential view permission issues, what does your client expect you to do with merge conflicts that are likely to occur?

-Jeff Ng


Posts: 444
Registered: Mar 15, 2005 04:40:07 AM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 04:11:56 PM   in response to: Tgefen in response to: Tgefen's post And the text Jirong quoted applies: don't hope for a rollback since ClearCase cannot identify the state of the checkedout files before the rebase (which should then be restored).

Unless of course the functionality of taking a snapshot was implemented.
I would object that this is a bad idea, as it would mean introducing a new identification mechanism.
A flag to force checkin_or_uncheckout would sound better: we have rules and we break them (in other words, do whatever you want but you are warned).

Marc


Posts: 282
Registered: Sep 04, 2008 05:41:32 PM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 04:23:05 PM   in response to: jeff98air in response to: jeff98air's post Hi Jeff

That was my original understanding, and I just saw that happened in my test as shown below. For now, I added this rebase step in a post deliver trigger but let the deliver complete even if the rebase fails.

What I used before is let someone in the team rebase the child streams next morning after the deliver to the production is done last night. So they got a chance to review everything before continue. What do you think?

Thanks
Jirong

Rebase the rest of streams ...
cmd=rebase -complete -stream AOL_PAT@\Mainframe_PVOB -baseline AOL_101216_161341@\Mainframe_PVOB
cmd=rebase -complete -stream AOL_TST@\Mainframe_PVOB -baseline AOL_101216_161341@\Mainframe_PVOB
cmd=rebase -complete -stream AOL_DEV@\Mainframe_PVOB -baseline AOL_101216_161341@\Mainframe_PVOB
cleartool: Warning: Activity being unset "activity:USR0200000673@\Mainframe_PVOB" has checkouts.
cleartool: Error: Element "M:\c999752_AOL_QEM\Mainframe_CVOB2\AOL_src\LE\NOPROC@@" has a checkout co
nflict.
It is checked out in the target view but it is in the change set of an
activity that is not the integration activity. You must checkin or
uncheckout the version in the target view in order for the element to be
checked out in the change set of the integration activity.
cleartool: Error: An error occurred while checking out or merging the directories in the target view
.
cleartool: Error: Unable to perform merge.
cleartool: Error: Unable to perform integration.
cleartool: Error: Unable to rebase stream "AOL_DEV".
+Can't execute command rebase -complete -stream AOL_DEV@\Mainframe_PVOB -baseline AOL_101216_161341@+
Mainframe_PVOB
cleartool: Warning: Trigger script for "tr_deliver_complete_postop" returned failed exit status
Deliver has completed
FROM: stream "AOL_QEM"
TO: stream "AOL_PRD"
Using target view: "c999752_AOL_PRD".


Posts: 699
Registered: Jun 25, 2007 04:53:38 PM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 05:00:12 PM   in response to: Jirong_Hu in response to: Jirong_Hu's post Here's what I do: When new baselines are recommended (after successful build and automated unit tests), a notification email is sent to the team regarding the new baseline. Team members can then rebase to the new baseline when they are ready to, rather than it being done automatically.

-Jeff Ng


Posts: 47
Registered: Aug 16, 2010 10:26:56 AM Re: What's evil about rebase with checkouts?
Posted: Dec 17, 2010 11:22:39 AM   in response to: jeff98air in response to: jeff98air's post Or, just enable the policy that they cannot deliver until they have rebased the new recommended baseline...that works too.

-Chris Moir
Inventa Technologies (at Aetna Insurance)


Posts: 699
Registered: Jun 25, 2007 04:53:38 PM Re: What's evil about rebase with checkouts?
Posted: Dec 17, 2010 12:12:20 PM   in response to: ChrisMoir in response to: ChrisMoir's post Chris Moir wrote:Or, just enable the policy that they cannot deliver until they have rebased the new recommended baseline...that works too.

Well, sort of... Enabling POLICY_DELIVER_REQUIRE_REBASE just prevents a user from delivering unless they have rebased to the recommended baseline. It does not notify users that a new baseline has been recommended.

-Jeff Ng

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Clearcase Build Engineer

Weblogic Portal Tuning Expert
Collabera  -  Charlotte, NC

* 10+ years technical background and 3+ years experience as a Systems Administrator of BEA * Weblogic Server 10.3 or higher, WebLogic Platform, Weblogic portal 10.3 or higher, in a Solaris environment. * Must have knowledge of Oracle Web Logic and Weblogic...


View the original article here

Sunday, December 19, 2010

Clearcase Clearquest Admininstrator

Synchronicity Engg & Clearcase Engg & LampStack Expert & SDLC Expert
Kutir Inc  -  San Francisco, CA

* SDLC Tool Expert will be responsible for many tools within the SDLC including Static Analysis (Coverity), Dynamic Analysis (Purify), Repository Browsers (Fisheye), Requirements Management (Jama Contour), Code Review (Code Collaborator, Review Board)...


View the original article here

IBM Rational ClearCase

Chapters: Bitkeeper, Ibm Rational Clearcase, Perforce, Team Foundation Server, Microsoft Visual Sourcesafe, Visual Studio Team System, Accurev, Code Co-Op, Starteam, Ibm Rational Clearcase Ucm, Sun Workshop Teamware, Ic Manage, Allfusion Harvest Change Manager, Ftpvc, Mks Source, Ibm Configuration Management Version Control, Qvcs, Vault, Ibm Rational Multiversion File System. Source: Wikipedia. Pages: 78. Not illustrated. Free updates online. Purchase includes a free trial membership in the publisher's book club where you can select from more than a million books without charge. Excerpt: Rational ClearCase is a software tool for revision control (e.g. configuration management, SCM) of source code and other software development assets. It is developed by the Rational Software division of IBM. ClearCase forms the base of version control for many large and medium sized businesses and can handle projects with hundreds or thousands of developers. ClearCase supports two kinds of use models, UCM, and base ClearCase. UCM provides an out-of-the-box model while base ClearCase provides a basic infrastructure (upon which UCM is built) which allows for more flexibility. Both can be configured to support a wide variety of needs. ClearCase can run on a number of platforms including AIX, z/OS, Linux, HP-UX, Solaris and Windows. It can handle large binary files, large numbers of files, and large repository sizes. It handles branching, labeling, and versioning of directories. ClearCase was developed by Atria Software and first released in 1992 on Unix and later on Windows. Some of the Atria developers had worked on an earlier system: DSEE (Domain Software Engineering Environment) from Apollo Computer. After Hewlett-Packard bought Apollo Computer in 1989, they left to form Atria. Atria later merged with Pure Software to form PureAtria. That firm merged with Rational Software, which was purchased by IBM in 2003 . IBM continues to develop and ma...More: http://booksllc.net/?id=343023

Price: $52.00


Click here to buy from Amazon

Synchronicity Engg & Clearcase Engg & LampStack Expert & SDLC Expert

Linux Admin (LAMP STACK Expert)
Kutir Inc  -  San Francisco, CA

* SDLC Tool Expert will be responsible for many tools within the SDLC including Static Analysis (Coverity), Dynamic Analysis (Purify), Repository Browsers (Fisheye), Requirements Management (Jama Contour), Code Review (Code Collaborator, Review Board)...


View the original article here

Re: View server start issue

Permlink Replies: 1 - Pages: 1 - Last Post: Dec 17, 2010 10:48 AM Last Post By: ChrisMoir Threads: [ Previous | Next ]
Posts: 15
Registered: May 06, 2008 03:16:51 AM View server start issue
Posted: Oct 26, 2010 02:49:43 AM I have a view which has been restored from the back up. Now i registered and made the tag for it. But it is not able to start the view server process.
The error i get is "cleartool: Error: Unable to find view_server (uuid: path: ) in albd_server on host ". I tried checking docs for the error but could not find any useful stuffs.
Any idea why this happens. Do i need to do something different other than just registering and retagging when restoring from backup?

Any help will be appreciated.

Thanks.


Posts: 47
Registered: Aug 16, 2010 10:26:56 AM Re: View server start issue
Posted: Dec 17, 2010 10:48:36 AM   in response to: UCMRookie in response to: UCMRookie's post Hi,

Please compare the view storage (.view.stg) to another known healthy CCRC view to ensure no parts are missing, and also check the view log on the CM server. When I just had this same issue, the view log was saying:

2010-12-17T10:10:16-05:00 view_server(29598): Error: Unable to open /var/adm/rational/clearcase/ccweb///.view.stg/.hostname: No such file or directory
2010-12-17T10:10:16-05:00 view_server(29598): Error: Unable to open file "/var/adm/rational/clearcase/ccweb///.view.stg/.view": No such file or directory.
2010-12-17T10:10:16-05:00 view_server(29598): Error: /var/adm/rational/clearcase/ccweb///.view.stg isn't a view: No such file or directory

When we looked at the directory of this view, we saw:

drwxrwxr-x 4 usrname group 4096 Dec 17 2010 .
drwxrwxr-x 4 usrname group 4096 Aug 2 09:48 ..
drwxrwxr-x 2 usrname group 4096 Dec 14 12:23 db
drwxrwxr-x 2 usrname group 8192 Dec 14 12:23 .s

Obviously, a lot missing...don't know why this happened though.

-Chris Moir
Inventa Technologies (at Aetna Insurance)

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Clearcase Administrator

Senior Windows System Admin
Hamsa Infotech  -  san jose, CA

Expert level of proficiency in Windows Server technology and core Windows networking services (DNS, TCP/IP, IIS, SMTP, .NET, Windows 2003 and 2008 Server, Sharepoint Services, MS Cluster, etc.)... Strong knowledge of integration tools and mechanisms for...


View the original article here

Re: slient install ClearCase 7.1.2 error log

This question is not answered.
Permlink Replies: 14 - Pages: 1 - Last Post: Dec 17, 2010 1:30 PM Last Post By: HaNguyen Threads: [ Previous | Next ]
Posts: 6
Registered: Jun 29, 2006 11:55:08 PM slient install ClearCase 7.1.2 error log
Posted: Oct 13, 2010 11:07:42 PM Dear All,
When I slient install ClearCase 7.1.2 into the machine (WinXP SP3). The log show the error as below attached. Is it Okay or not ? Please help

C:\CC7\disk1\InstallerImage_win32>installc.exe --launcher.ini silent-install.ini
-input \\itdqc002\C$\response_file\install_clearcase71.xml
INFO OS Name :Windows XP
INFO OS Arch :x86
INFO OS Version :5.1 build 2600 Service Pack 3
INFO Lib Location :C:\Program Files\IBM\RationalSDLC/common/install/com.ibm.rational.licensing.configure_999.999.999.1953806856
INFO New Lib Location :C:\DOCUME~1\2410\LOCALS~1\Temp\1286962467129
INFO Adding C:\DOCUME~1\2410\LOCALS~1\Temp\1286962467129 to the java.library.path
ERROR Adding path C:\DOCUME~1\2410\LOCALS~1\Temp\1286962467129 to loading paths failed : Failed to get field handle to set library path NOT sun system

Thanks
Jones


Posts: 894
Registered: Jun 09, 2005 09:06:53 PM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 14, 2010 11:09:33 AM   in response to: JonesWong in response to: JonesWong's post it says "not sun system" and it also says "OS win xp" sounds to me like you are tryingto install a Sum (Solaris) package on a windows system.

Martina
Don't Postpone Joy - Have Fun

ReleaseTEAM Inc
http://www.releaseteam.com
IBM Rational Certified Consultants
IBM Business Partner


Posts: 6
Registered: Jun 29, 2006 11:55:08 PM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 14, 2010 08:54:42 PM   in response to: martina in response to: martina's post Dear Martina,
How to check the package is a Sum (solaris) or Win ? and how to correct it ??? I just following the instruction to create the package ? Please help again.

https://publib.boulder.ibm.com/infocenter/cqhelp/v7r1m0/index.jsp?topic=/com.ibm.rational.clearquest.install_upgrade.doc/topics/t_record_response_file_IM_walkthrough.htm


Cheers
Jones


Posts: 894
Registered: Jun 09, 2005 09:06:53 PM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 15, 2010 01:43:37 PM   in response to: JonesWong in response to: JonesWong's post The easy way for you is to fire up the IM GUI and see whether it shows it as available to you. If its grayed out, it's not for the platform that you are running on.
In PA-Online there is a separate package for every OS. They usually have names that start with CA and end with .zip. While that name isn't descriptive for you, you do want to retain it as part of the file name you save it as as you can backtrack later what package you downloaded.
You "just" have to go into PA-online again and download the right package. If you don't have a PA-online logon you have to backtrack in your company who did the download originally and get them to download the right thing. You may want to look over their shoulder to make sure.

Martina
Don't Postpone Joy - Have Fun

ReleaseTEAM Inc
http://www.releaseteam.com
IBM Rational Certified Consultants
IBM Business Partner


Posts: 76
Registered: Dec 03, 2004 04:04:17 PM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 23, 2010 07:57:01 PM   in response to: JonesWong in response to: JonesWong's post I am having the same problem also.
I'm working with Windows Installer 1.4.1 and Rational apps 7.1.2 on a Windows 2008 server. I'm trying out the silent install on the server before moving to using the silent install on the PCs.
I created the install repository using the Windows Installer so WI is working fine on Windows.
I think the Sun reference is to Sun Java.

I'm not having the problem installing the apps using the IM GUI.

I've deinstalled and reinstalled so many times my head is spinning.


Posts: 76
Registered: Dec 03, 2004 04:04:17 PM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 23, 2010 08:34:08 PM   in response to: JonesWong in response to: JonesWong's post The IM comes with Sun Java. I can see it in the ...\eclipse\jre_5.0.4.sr11_20091106a\jre\bin directory.

This is a new 2008 R2 server and it doesn't look like it has Sun Java installed. I thought that wouldn't be an issue. I'm just trying to install the thick clients.

This server has UAC turned on. I am logged in as Administrator and for extra measure I right clicked on the DOS prompt and am running the DOS session as Administrator. But since I can do this via the GUI it's definately a DOS/silent install issue. Possibly with 7.1.2 and IM 1.4.1 and silent install.

Has anyone gotten that combo to work?


Posts: 76
Registered: Dec 03, 2004 04:04:17 PM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 23, 2010 10:27:53 PM   in response to: JonesWong in response to: JonesWong's post Even more information.

I looked at the file in my ..\users\..\temp\ directory and it is the ibmratl_lic.dll file.

And the software appears to be installed.

There's nothing in the log file to tell me more.

I didn't get the error when doing a silent install of CCRC but I did when trying to do a silent install of ReqPro and ClearQuest. So again that points to some FlexLM license related issue.

But I can connect to the license server and use the software.

I'm left not knowing if there's something that didn't install correctly.

Any ideas?


Posts: 76
Registered: Dec 03, 2004 04:04:17 PM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 24, 2010 04:14:52 PM   in response to: JonesWong in response to: JonesWong's post I've been trying many ways to do a silent install for the client to a PC from a repository created on a server.

For testing purposes I installed Installation Manager on the PC also but normal end users will not have it so the install has to work without IM on the PC.

If I go to the ..\eclipse directory on the PC and type:
IBMIMc.exe --launcher.ini silend-install.ini -input \\\response_file\.xml it works.

If I try to use the servers installation of IM by typing something like -- \\\eclipse\IBMIMc.exe -- launcher.ini silend-install.ini -input \\\response_file\.xml

I have problems.

At first I was getting the same errors that JonesWong was having. Then I went to the server and modied the IBMIM.ini, launcher.ini and silentinstall.ini and updated the java path to be \\\ instead of C:\.

I stopped getting those errors and now what happens is the Installation Manager splash screen comes up for 10 seconds or so, shuts down and the DOS command aborts with no message.

Has anyone been able to create a client install repository on a Windows 2008 server which they've then successfully installed from a PC without accessing Installation Manager on the PC?

Thanks.


Posts: 894
Registered: Jun 09, 2005 09:06:53 PM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 25, 2010 11:56:11 AM   in response to: Barb in response to: Barb's post Have you tried to contact support? This sounds very much like a bug.......

Martina
Don't Postpone Joy - Have Fun

ReleaseTEAM Inc
http://www.releaseteam.com
IBM Rational Certified Consultants
IBM Business Partner


Posts: 76
Registered: Dec 03, 2004 04:04:17 PM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 25, 2010 12:38:57 PM   in response to: JonesWong in response to: JonesWong's post Yes. Opened a ticket Friday after hours. But no support until Monday:(

And even so, I was hoping to hear if anyone else was successfull. If so, then I'd think it's our specific setup/commands that were at fault.


Posts: 171
Registered: Mar 02, 2005 04:56:09 AM Re: slient install ClearCase 7.1.2 error log
Posted: Oct 28, 2010 06:01:54 AM   in response to: Barb in response to: Barb's post Can You send me the PMR number please?
I've just opened a call because of the same problem.

greetings georg.


Posts: 10
Registered: Nov 08, 2007 08:23:29 AM Re: slient install ClearCase 7.1.2 error log
Posted: Nov 02, 2010 09:04:45 AM   in response to: JonesWong in response to: JonesWong's post I am facing the same issue while installing the ClearCase client in a Windows machine.

If IBM tell you a solution, please post it for us.

Thanks in advance.

Supriano


Posts: 76
Registered: Dec 03, 2004 04:04:17 PM Re: slient install ClearCase 7.1.2 error log
Posted: Nov 02, 2010 09:24:09 AM   in response to: JonesWong in response to: JonesWong's post Very poor form of me to submit multiple updates to this ticket and then disappear. It's been a busy few weeks.

Our particular setup is probably different than yours and I'm not sure which error you guys are having. The first error is fixed by updating the jvm location in the ...\eclipse\launcher.ini, ibmim.ini and silent-install.ini files. True you may not need to do it for all 3 but why not.

In our case we're not installing Installation Manager on the end users PC. Instead we're pointing to ibmim on a server and then installing from a repository on the server.

Normally the 3 ini files would have a line that reads something like:
c:\....\eclipse\jre_5.0.4.sr11_20091106a\jre\bin\j9vm\jvm.dll
But for us there is no such directory or files on our C drive. We had to update the path to read:
\\\\eclipse.....\jvm.dll.

Then the second problem I had with the ibmim splash screen coming up and then shutting down and the install never really starting was because I was using UNC path to get to ibmim.exe. I had to map a drive to the server where ibmim is installed and from the command prompt on the PC change directories to that drive and execute the command from the eclipse directory on the server.

If you're still having problems please detail the steps you're going through and where the download, repository and installation manager files reside.


Posts: 1
Registered: Nov 04, 2010 05:43:19 PM Re: slient install ClearCase 7.1.2 error log
Posted: Nov 04, 2010 05:52:06 PM   in response to: JonesWong in response to: JonesWong's post I did faced the issue. It is purly JVM path issue.

Say you have IM in

c:\IM\1.4.1\

Goto C:\IM\1.4.1\jre_5.0.4.sr11_20091106a
Copy the "jre" folder"
Go back to c:\IM\1.4.1\
Paste it.

This will resolve all your issues.

After doing the above try executing this.

\\itdqc002\C$\IM\1.4.1\installc.exe --launcher.ini silent-install.ini -input \\itdqc002\C$\response_file\install_clearcase71.xml

Guru Ashok


Posts: 34
Registered: Nov 10, 2008 11:21:20 AM Re: slient install ClearCase 7.1.2 error log
Posted: Dec 17, 2010 01:30:42 PM   in response to: GuruAshok in response to: GuruAshok's post The problem you are facing has already been identified.
This message coming from a plug-in related to licensing that validates the Operating System and prints a message to the log based on the result.
This non-critical ERROR message can be ignored as long as the product is installed and working correctly.
Here is the technote:
Silent install: Failed to get field handle to set library path NOT sun system
https://www-304.ibm.com/support/docview.wss?uid=swg21453662Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Transfer to New Owner of all streams in a ClearCase VOB / Possible script?

That the real pain point with the lock mechanism: if you unlock (which you need to do if you want to perform a cleartool protect -chown), you are loosing the list of users you excluded from a given lock.

A starting point to script that kind of operation is this IBM document "How to list locked VOBs":

Windows: for /F %v in ('cleartool lsvob -short') do cleartool lslock vob:%vUnix: for i incleartool lsvob -short -host ; do cleartool lslock vob:$i; done

Leave me as a comment the Os on which you will perform those operations, and I will complete this answer with a script.

For instance, a quick DOS script chown_locked.cmd would be:

@ECHO offSETLOCAL ENABLEDELAYEDEXPANSIONdoskey ct=cleartool $*set ucmObject=%1 & REM #project:aProject@\aPVob or stream:aStream@\aPVobset anOldUser=%2 & REM #previous owner of the streamsset anOldUser=%anOldUser:~0,-1%set lsstreamCmd=ct lsstream -in %ucmObject% -fmt "%%Xn %%[locked]p %%u\n"for /F "tokens=1-3" %%a in ( ' %lsstreamCmd% ') do ( rem echo '%%a' rem echo '%%b' rem echo '%%c' if "%%b" EQU "locked" ( if "%%c" EQU "%anOldUser%" ( call:chown %%a %USERNAME% ) else ( echo.ignore locked %%a because not owned by %anOldUser%, but by '%%c' ) ) else ( echo.ignore unlocked %%a ))goto end:chown ucmObject -- chown on a ucm object:: if lock, will restore the nusers lock exception list:: -- streamName [in] name of the UCM object:: -- newOwner [in] name of new owner SETLOCAL ENABLEDELAYEDEXPANSIONset ucmObject=%~1set newOwner=%~2set cmd=ct lslock %ucmObject%for /F "tokens=4*" %%a in ( ' %cmd% ^| find "Locked except for users:" ') do set lslock=%%bset lslock=%lslock:~0,-1%rem echo lslock '%lslock%'if "%lslock%" NEQ "~0,-1" goto lslockecho.chown locked '%ucmObject%%' for '%newOwner%'ct protect -chown %newOwner%2 %ucmObject% & goto endchown:lslockset lslock2=%lslock: =,%rem echo lslock2 '%lslock2%'echo.chown locked '%ucmObject%' for '%newOwner%' while retaining '%lslock2%'ct unlock %ucmObject%ct protect -chown %newOwner% %ucmObject%ct lock -nusers %lslock2% %ucmObject%:endchown( ENDLOCAL)EXIT /b:end( ENDLOCAL)

Call it on a project, or a stream (with sub-streams) within a project, like so:

chown_locked.cmd project:myProject@\aPVobName aPreviousOwnerchown_locked.cmd stream:aStream@\aPVobName aPreviousOwner

It will protect any sub-stream to the current user if said sub-streams are:

lockedlocked with the right owner (the previous one who has left)

If a sub-stream is locked with a -nusers list of excluded users (excluded from the lock), this list is saved before the unlock, and restore when locking the stream again.

Of course, it will only work if the current user is ClearCase administrator (i.e. is in the same group than the ClearCase_albd user): only this king of user can do a chown on a ClearCase object.


View the original article here

Saturday, December 18, 2010

IBM Rational Software Consultant, 3month London GBP220-260

IBM Rational Software Consultant, 3month London GBP220-260

An IBM Rational Software Consultant is required for a minimum 3 month contract for a large scale project based in London.

The successful consultant will have the following skills and experience:
* Good implementation knowledge of Rational tools ? RequisitePro, ClearQuest, ClearCase, RSA & RSM in the Jazz platform:
*Installations ? Server / Web setup
*Tools implementation & integration architecture as per the process &
IBM Rational Software Consultant, 3month London GBP220-260

IBM Rational Software Consultant, 3month London GBP220-260

An IBM Rational Software Consultant is required for a minimum 3 month contract for a large scale project based in London.

The successful consultant will have the following skills and experience:
• Good implementation knowledge of Rational tools – RequisitePro, ClearQuest, ClearCase, RSA & RSM in the Jazz platform:
o Installations – Server / Web setup
o Tools implementation & integration architecture as per the process & usage requirements
o Creating project template as per RM Process
o Creating CQ Schema with required workflows
o Enable integrations across tools
o Create projects in these tools
o Administer LDAP enabled User and Group accounts
o Support creation of complex views, queries, metrics in these tools
o Educate users on tool usage
• Good understanding of the Software Development Lifecycle process (CMMi/RUP/Agile etc)
• Knowledge of ALM tools by other vendors like Serena, Borland and Open source will be an added advantage

If the above role is suitable for you – please send your CV NOW to rekha@secrecruitment.com or call Rekha on 0207 255 6600.

SEC Recruitment Limited is acting as an Employment Agency and/or Employment Business
Business

ASAP3 months?220 - ?260 per annumLondon, EnglandContractITSEC Recruitment Limited+44 (0)207 255 6655to view click here http:///2010-12-14 19:23:03 -

View the original article here

BASE CLEARCASE ENGINEER

ClearCase Administrator
SilverSearch, Inc.  -  Secaucus, NJ

For our client in Secaucus, New Jersey, we are seeking a solid ClearCase Administrator for a long-time consulting opportunity.Responsibilities/Skills:*****UNIX: Ksh/Csh scripts(grep/awk/sed), vi/emacs, ssh/sshd, crontab, and familiar w/ OS/Administration...


View the original article here

Build & Release Engineer - 6 Month Contract

Build & Release Engineer

Location: Peterborough
Rates: £250-£280 Per day
Duration: 6 months

Build & Release Engineer is urgently needed for this leading blue chip, you will be responsible to perform software configuration management activities on this project.

Build & Release Engineer will act as support personnel for change management, version control, build management, release management, software handovers in the projects. Build & Release Engineer will work for software releases and prepare consistent baselines. Build & Release Engineer will perform regular status accounting checks for compliance to agreed configuration management process. Build & Release Engineer will be the part of Configuration Management Team and will report to Configuration Manager

Key Skills/Knowledge:
* Strong knowledge of version control systems like Clearcase, Subversion, CVS etc [preferably clearcase]
* Strong Knowledge of ant Scripting, maven, Shell programming and automation
* Experience in handling daily and continuous builds and maintaining/keeping track of build and process followed for deployment
* Having Knowledge of CI engines (Hudson, Cruisecontrol, Anthill, Lunt),
* Linux/Windows Administration - Basic Level
* Good understanding of software configuration management processes.(branch, tag, merge, build)
* Should be a self-starter and good team player
* Must be able to communicate and coordinate well with both engineers and managers.

Build & Release Engineer
Location: Peterborough
Rates: £250 - £280 per day
Duration: 6 months


View the original article here

merge of directories in clearcase

It depends on the history of the two versions of a directory being merged from one branch to another:

if one version has removed files (i.e. has less files than the other version)if said version is merged onto the other,

the resulting version will have less files than initially shown in the view.

That could be because:

that view is not the one used for the mergethat view is the correct one, but with an eclipsed or hijacked content (privates files replacing versioned files)

In any case, what would help in the mentioned view is:

a 'cleartool ls' in the directory mergeda 'cleartool ls' in the parent directory of the directory merged.

The output of those two commands would help to confirm the exact status of the files merged within that directory, as well as the status of the directory itself.


View the original article here

Re: What's evil about rebase with checkouts?

Permlink Replies: 7 - Pages: 1 - Last Post: Dec 17, 2010 12:12 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 282
Registered: Sep 04, 2008 05:41:32 PM What's evil about rebase with checkouts?
Posted: Dec 16, 2010 01:58:45 PM Hi

My client wants me to automatically rebase all the rest of streams after a final deliver to the production. I can only do this with "Allow rebase to proceed with checkouts in the view" in the project. I've never done this before, so can anyone tell me what's the consequence?

Thanks
Jirong

http://www.ibm.com/developerworks/rational/library/3792.html

Can I rebase with files checked out?

Checkouts are not allowed during rebase (so we could easily support the cancel operation for rebase). If checkouts were allowed, UCM would need to store a copy of all checked out files (as merging may be required if some files are affected by the rebase). This functionality could be provided in a future release, but for this release of UCM you cannot have any checkouts in your development stream during rebase.


Posts: 571
Registered: Nov 19, 2007 06:06:36 AM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 03:34:52 PM   in response to: Jirong_Hu in response to: Jirong_Hu's post Prior to CC v7 (or 7.1), you couldn't rebase if any checked-out file was found on the target stream (even if this file wasn't part of the change-set).
Starting from V7, when you enable "Allow rebase to proceed with checkouts in the view", you can rebase anytime unless the checked-out file is part of the change-set that the target stream is going to be (re)based on.

Tamir Gefen, GoMidjets


Posts: 699
Registered: Jun 25, 2007 04:53:38 PM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 04:09:58 PM   in response to: Jirong_Hu in response to: Jirong_Hu's post CC 7.0.1 added the ability to rebase a stream with checkouts, but the rebase will fail if a merge is needed with a checked out element (whether or not there is a merge conflict). This is because the checked out version is already linked to an existing activity and can't also be linked to the rebase activity. A version can only be associated to exactly 1 activity at a time.

I think your client's request for you to rebase all child streams is NOT VALID. Aside from potential view permission issues, what does your client expect you to do with merge conflicts that are likely to occur?

-Jeff Ng


Posts: 444
Registered: Mar 15, 2005 04:40:07 AM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 04:11:56 PM   in response to: Tgefen in response to: Tgefen's post And the text Jirong quoted applies: don't hope for a rollback since ClearCase cannot identify the state of the checkedout files before the rebase (which should then be restored).

Unless of course the functionality of taking a snapshot was implemented.
I would object that this is a bad idea, as it would mean introducing a new identification mechanism.
A flag to force checkin_or_uncheckout would sound better: we have rules and we break them (in other words, do whatever you want but you are warned).

Marc


Posts: 282
Registered: Sep 04, 2008 05:41:32 PM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 04:23:05 PM   in response to: jeff98air in response to: jeff98air's post Hi Jeff

That was my original understanding, and I just saw that happened in my test as shown below. For now, I added this rebase step in a post deliver trigger but let the deliver complete even if the rebase fails.

What I used before is let someone in the team rebase the child streams next morning after the deliver to the production is done last night. So they got a chance to review everything before continue. What do you think?

Thanks
Jirong

Rebase the rest of streams ...
cmd=rebase -complete -stream AOL_PAT@\Mainframe_PVOB -baseline AOL_101216_161341@\Mainframe_PVOB
cmd=rebase -complete -stream AOL_TST@\Mainframe_PVOB -baseline AOL_101216_161341@\Mainframe_PVOB
cmd=rebase -complete -stream AOL_DEV@\Mainframe_PVOB -baseline AOL_101216_161341@\Mainframe_PVOB
cleartool: Warning: Activity being unset "activity:USR0200000673@\Mainframe_PVOB" has checkouts.
cleartool: Error: Element "M:\c999752_AOL_QEM\Mainframe_CVOB2\AOL_src\LE\NOPROC@@" has a checkout co
nflict.
It is checked out in the target view but it is in the change set of an
activity that is not the integration activity. You must checkin or
uncheckout the version in the target view in order for the element to be
checked out in the change set of the integration activity.
cleartool: Error: An error occurred while checking out or merging the directories in the target view
.
cleartool: Error: Unable to perform merge.
cleartool: Error: Unable to perform integration.
cleartool: Error: Unable to rebase stream "AOL_DEV".
+Can't execute command rebase -complete -stream AOL_DEV@\Mainframe_PVOB -baseline AOL_101216_161341@+
Mainframe_PVOB
cleartool: Warning: Trigger script for "tr_deliver_complete_postop" returned failed exit status
Deliver has completed
FROM: stream "AOL_QEM"
TO: stream "AOL_PRD"
Using target view: "c999752_AOL_PRD".


Posts: 699
Registered: Jun 25, 2007 04:53:38 PM Re: What's evil about rebase with checkouts?
Posted: Dec 16, 2010 05:00:12 PM   in response to: Jirong_Hu in response to: Jirong_Hu's post Here's what I do: When new baselines are recommended (after successful build and automated unit tests), a notification email is sent to the team regarding the new baseline. Team members can then rebase to the new baseline when they are ready to, rather than it being done automatically.

-Jeff Ng


Posts: 47
Registered: Aug 16, 2010 10:26:56 AM Re: What's evil about rebase with checkouts?
Posted: Dec 17, 2010 11:22:39 AM   in response to: jeff98air in response to: jeff98air's post Or, just enable the policy that they cannot deliver until they have rebased the new recommended baseline...that works too.

-Chris Moir
Inventa Technologies (at Aetna Insurance)


Posts: 699
Registered: Jun 25, 2007 04:53:38 PM Re: What's evil about rebase with checkouts?
Posted: Dec 17, 2010 12:12:20 PM   in response to: ChrisMoir in response to: ChrisMoir's post Chris Moir wrote:Or, just enable the policy that they cannot deliver until they have rebased the new recommended baseline...that works too.

Well, sort of... Enabling POLICY_DELIVER_REQUIRE_REBASE just prevents a user from delivering unless they have rebased to the recommended baseline. It does not notify users that a new baseline has been recommended.

-Jeff Ng

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Sunday, December 12, 2010

Perl ClearCase ClearQuest Developer at Intellisoft Technologies (Raleigh, NC)

    Sorry, I could not read the content fromt this page.

View the original article here

Re: Scrubbing bad events


Posts: 19
Registered: May 05, 2009 09:45:16 AM Scrubbing bad events
Posted: Dec 08, 2010 06:29:05 AM I would like to scrub some very old events from a VOB.
Some of the events might be bed due to a problem I faced with this VOB few years ago.
Now, when I am running the vob_scurbber, it doesn't scrub those events.

What can I do to solve this issue?


Posts: 171
Registered: Mar 02, 2005 04:56:09 AM You can edit the vob_scrubber_params file in ..\ClearCase\config\scrubber to select the kind of events, which will be scrubbed and after which time they will be scrubbed.

But be careful.

You can only select the kind of events, for example mklabel, and all the events will be scrubbed.

You can not distinguish between good and bad events.

greetings georg.


Posts: 19
Registered: May 05, 2009 09:45:16 AM Did it already. The corrupted/bed events are not scrubbed.
Posts: 171
Registered: Mar 02, 2005 04:56:09 AM
Posts: 19
Registered: May 05, 2009 09:45:16 AM
Posts: 426
Registered: Sep 28, 2005 02:20:11 PM It would probably help if you defined what a "bad" event is in this case... Please also note that some events can't be scrubbed or the database would not be able to be reformatted (events are used to find elements/versions/etc to dump...).

=================================================================
Brian Cowan
Advisory Software Engineer
ClearCase SoftWare Advisory Team (SWAT)
Rational Software
IBM Software Group
550 King St
Littleton, MA 01460

Phone: 1.978.899.9471
Web: http://www.ibm.com/software/rational/support/


Posts: 19
Registered: May 05, 2009 09:45:16 AM This is exactly the problem. I am trying to create a new replica for this VOB and the operation core dumps when trying to dump a certain event. It is a mklabel event which was created on October 2008. If I had a way to remove it than I am guessing the mkreplica would work.Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here