How to re-use Visual Studio lscm session.
We use a 3rd party tool which needs an RTC lscm command line session available.
If a developer starts Visual Studio he/she needs to specify RTC credentials once, after that they can work with RTC from within Visual Studio. Our 3rd party Visual Studio plugin calls the a command line tool, which calls the command line version of RTC, i.e. lscm. For some reason the Visual Studio RTC session and the command line RTC session appear to be different. So if you have a Visual Studio RTC session running, you can't run lscm without logging in once again (via the cmd prompt). Even if we call the lscm executable in the Visual Studio directory it doesn't work. So my question is: how can we use the Visual Studio RTC session via lscm? Or, if this isn't possible, how can we run RTC commands in another way, once somebody has a Visual Studio RTC session running?
Thanks,
Daan
One answer
The scm cli tool cannot reuse the credentials specified by the VisualStudio client. The daemon maintains a session that could be reused by the clients but every client has to authenticate before performing an operation (in other words talk to the daemon to perform the operation).
By the way, what is the operation that the Visual Studio plugin does that requires the scm cli tool?
Comments
Karl Weinert
JAZZ DEVELOPER Sep 20 '13, 10:19 a.m.Daan van der Munnik
Sep 26 '13, 5:26 a.m.