It's all about the answers!

Ask a question

scm command line questions and problems


David Sedlock (16122012) | asked Aug 13 '09, 4:00 a.m.
1) If the workspace is open in Eclipse, I can't use scm:

C:\UserData\sedlock\rtc\workspace01\comp3>scm status
Could not initialize data area:
Another RCP application is running in this local workspace. File locked at file:C:\UserData\sedlock\rtc\workspace01

This is not good.

2) scm.exe seems to work fine in cygwin, except for the status command, which returns nothing:

************
sedlock@mucn13423 /cygdrive/c/UserData/sedlock/rtc/workspace01/comp3
$ scm.exe status

sedlock@mucn13423 /cygdrive/c/UserData/sedlock/rtc/workspace01/comp3
************

3) The doc says that if I login first, I should not be prompted for credentials, but I am always prompted for password.

C:\UserData\sedlock\rtc\workspace02>scm status
Password (sedlock @ https://localhost:9443/jazz/):

I can only use scm comfortably by supplying the password with -P.

4) There seems to be about a 20 second delay before anything happens after invoking scm. This is obviously a serious obstacle to using it in scripts where you may want to invoke it several times or in a loop.

I was going to benchmark RTC checkin vs. CC checkin with a loop that checks in files individually, which is perfectly fine with cleartool, when I realized that RTC was going to perform far worse than CC. I changed the script to check in the files in one go, and found that RTC checkin is, in my setup, about 3 times faster. But it is not always feasible to batch invocations of scm together.

I guess the overhead is the server login. I think you've got to implement some way of saving state so that invocations of scm within one login session do not require new server logins, but start to do their job immediately.

11 answers



permanent link
Evan Hughes (2.4k1318) | answered Sep 14 '10, 4:09 p.m.
JAZZ DEVELOPER
Was this issue resolved in 2.0.0.2?


The fix is in 2.0.0.2 ifix 4. I believe it's present in the previous ifixes as well.

To coexist with eclipse, you must use the 'lscm' executable.

hth,
e

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.