Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes


Accepted answer

Permanent link
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

0 votes


One other answer

Permanent link
OK I will try it.

Thank you.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,021
× 1,202
× 11

Question asked: May 30 '13, 6:54 a.m.

Question was seen: 4,752 times

Last updated: May 30 '13, 10:13 a.m.

Confirmation Cancel Confirm