Problem with scm share command
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.
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
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.