Running scmtools on a build machine
Ideally, there would be a standalone command line client installer (as asked for in Enhancement 174453), but that doesn't exist yet. What I've done is zipped up the files from under
C:\Program Files\IBM\Rational Team Concert Client for Microsoft Visual Studio IDE\3rd Party
on my workstation (a WinXP machine where Visual Studio is installed) and copied them over to a build server (a Win2k3 x86-64 machine where Visual Studio is not installed) under
C:\bin\RTC
I've also updated the scm.ini file to point to the included JRE.
With this setup, I'm able to login and create a workspace. So far, so good. However, when I attempt to load a workspace I'm running into the following exception (copied from .metadata\.log file):
!SESSION 2012-09-11 11:57:59.874 -----------------------------------------------
I've tried with both scm.exe and lscm.bat. Any suggestions? Shouldn't this work? Am I stuck with having to install the full RTC client with GUI (which requires having Visual Studio installed)?
Thanks in advance!
|
Accepted answer
The command is formatted correctly, its just not able to find the component IA that you specified. It could be permissions with the connecting user. Also make sure that the the connection is connecting the repository you think it should be connecting to.
~Spencer Ryan Kersh selected this answer as the correct answer
Comments
Ryan Kersh
commented Sep 12 '12, 11:53 a.m.
If it's true that the reason this is failing is because the "IA" component can't be found, then this would be a bug, wouldn't it? The error message is horrible to say the least.... How would I go about diagnosing the permissions issue?
Ryan Kersh
commented Sep 12 '12, 5:13 p.m.
This did indeed turn out to be a permissions issue. Thanks! Is it worth following through with a bug report? It seems like the command line client should report a nice error message that says something like: "You don't have permissions to access this component."
Ryan Kersh
commented Sep 13 '12, 12:33 p.m.
I went ahead and filed a defect for this. It looks like this has been fixed in 4.0 and there are no plans to back port the fix to 3.x. See RTC defect 231344 (http://goo.gl/tm41W). |
2 other answers
I believe you are using 3.x. Starting 4.0 we have a separate download for scm cli.
What is the error you are seeing on the command line? Is it the same exception as in the log? The exception indicates that the comoponent 'IA' could not be found (
load -r pilot IPFAWorkspace IA)
Comments
Ryan Kersh
commented Sep 12 '12, 11:24 a.m.
See my response (posted as a separate "answer" below). It didn't seem to fit in this space. |
That's correct, I'm using the 3.0.1.3 Visual Studio client. Here's the error from the command line (it appears to be the same as the log):
C:\projects\IATrunk>c:\bin\RTC\scmtools\eclipse\scm.exe load -r pilot IPFAWorkspace IAThis command worked on my workstation using a different user. Is the method I used for deploying scmtools acceptable in general? Could this be a permissions issue?
Thanks!
|
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.