It's all about the answers!

Ask a question

Problem with scm share command


Sergio González (355) | asked May 30 '13, 6:54 a.m.
Hello,

   I am using scm share command, but it is not working correctly. I checked the next link https://jazz.net/forum/questions/23324/problem-with-scm-share but I continue with the problem.

I have the next windows folder tree E:\RBFtmp\tmp
With the next structure:
/DESARROLLO/
/DESARROLLO/TIERRA10/
/DESARROLLO/TIERRA10/Modu/
/DESARROLLO/TIERRA10/Modu/Arq/
/DESARROLLO/TIERRA10/Modu/Arq/mant/
/DESARROLLO/TIERRA10/Modu/Arq/mant/Fuentes/
/DESARROLLO/TIERRA10/Modu/Arq/mant/Sql/
/DESARROLLO/TIERRA10/Modu/Arq/mant/Sql/PCK_MIA100.BDY
/DESARROLLO/TIERRA10/Modu/Acc/
/DESARROLLO/TIERRA10/Modu/Acc/mant/
/DESARROLLO/TIERRA10/Modu/Acc/mant/Fuentes/
/DESARROLLO/TIERRA10/Modu/Acc/mant/Sql/
/DESARROLLO/.project

OK, Now I create a new Workspace, and I can list it:

E:\RBFtmp\tmp>scm ls rf WS_RBF "COMP_Desarrollo_Sistemas" -r https://Myserver:9443/ccm/ -u USER -P Password --depth -
/
/DESARROLLO/
/DESARROLLO/TIERRA10/
/DESARROLLO/TIERRA10/Modu/
/DESARROLLO/TIERRA10/Modu/Arq/
/DESARROLLO/TIERRA10/Modu/Arq/mant/
/DESARROLLO/TIERRA10/Modu/Arq/mant/Fuentes/
/DESARROLLO/TIERRA10/Modu/Arq/mant/Sql/
/DESARROLLO/TIERRA10/Modu/Acc/
/DESARROLLO/TIERRA10/Modu/Acc/mant/
/DESARROLLO/TIERRA10/Modu/Acc/mant/Fuentes/
/DESARROLLO/TIERRA10/Modu/Acc/mant/Sql/
/DESARROLLO/.project

As you can see the only difference is the file PCK_MIA100.BD, and I want to share it. For that I execute:
E:\RBFtmp\tmp>scm share -r https://Myserver:9443/ccm/ -u USER -P PASSWORD -v --reshare WS_RBF COMP_Desarrollo_Sistemas DESARROLLO

Se ha compartido satisfactoriamente     (It have been shared succesfully)

It looks like ok, but when I relist my project, the file was not shared.

What am I doing wrong?

Thank you in advance.

Accepted answer


permanent link
Tim Mok (6.6k38) | answered May 30 '13, 9:29 a.m.
JAZZ DEVELOPER
The share command is used to initially share a file or directory that isn't already tracked as a sandbox in RTC. If that location is a load of your workspace, the added file will show up when running the status command. To "share" the file, you run the check-in command. The reshare option will reconnect the specified path to your repository workspace and make it a sandbox. It won't add the new file until you perform the check-in.
Sergio González selected this answer as the correct answer

One other answer



permanent link
Sergio González (355) | answered May 30 '13, 10:13 a.m.
OK I will try it.

Thank you.

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.