Why is the sandbox locked when using command "lscm.bat list property"?
Hello,
I've the following environment:
jazz 4.0.3
RTC Eclipse Client 4.0.3
I'll have to check some files for their properties. I'm using the following command in the windows command prompt (cmd) to list the properties of a file:
I'm looking forward for your answers!
Kind Regards
Marco
I've the following environment:
jazz 4.0.3
RTC Eclipse Client 4.0.3
I'll have to check some files for their properties. I'm using the following command in the windows command prompt (cmd) to list the properties of a file:
"C:\Program Files (x86)\IBM\TeamConcert\scmtools\eclipse\lscm.bat" list property "C:\...\sandbox\Test" -r http://../ccm -u (userid) -P (password) -jThe first execution works just fine, I'll get the result. But the second execution doesn't work, I'll get the following error:
("Test" is the file)
At least one Sandbox is locked by an other processWhen I close the command prompt and start it again, it works just fine. But I'll have to check the properties of some more files. Why is the sandbox still locked after execution of the lscm.bat?
C:\...\sandbox
Problem running 'property list':
The Sandboxes could not be registered.
I'm looking forward for your answers!
Kind Regards
Marco
Accepted answer
There is an issue with lscm when sandbox related operations are run outside of the sandbox (this does not affect remote operations). Most of the commands that operate on the sandbox has a -d/--directory option to specify the sandbox location but 'lscm list property' does not have it.
So to resolve this issue you will have to run lscm from within the sandbox. The following command should work within the sandbox...
C:\...\sandbox> C:\Program Files (x86)\IBM\TeamConcert\scmtools\eclipse\lscm.bat" list property "Test" -r http://../ccm -u (userid) -P (password) -j
By the way, if you have cached your credentials you do not have to specify -u & -P options for every command. You can also specify a nickname for the repository uri when you login so that you do not have to type the entire repository uri.