It's all about the answers!

Ask a question

How to load local workspace(sandbox) with scm


Dietmar Wolf (132) | asked Jul 07 '15, 7:48 a.m.

first:
I have created repository workspace with command
lscm create ws 2583_HMI_20_EPO -s 2583_HMI_2.0_Main -r https://myserver.pcm.endress.com:9443/jazz -u myid -P mypassword

the respose was:
Arbeitsbereich (1447) "2583_HMI_20_EPO" wurde erfolgreich erstellt

second:
the command for loading ws fails.
lscm load -r myserver:9443/jazz -u myid -P mypassword -d D:\Sandbox\HMI_Test workspace @1446

the response is:
Fehler bei Ausfuehrung von 'load':
workspace "workspace" ohne Entsprechung

Dietmar


Accepted answer


permanent link
Shashikant Padur (4.2k27) | answered Jul 07 '15, 11:08 p.m.
JAZZ DEVELOPER
As Ralph points out the load syntax could be one of the following:
lscm load -r myserver:9443/jazz -u myid -P mypassword -d D:\Sandbox\HMI_Test 1447
where the sandbox is D:\Sandbox\HMI_Test and 1447 is the alias of the workspace.
or
lscm load -r myserver:9443/jazz -u myid -P mypassword -d "D:\Sandbox\HMI_Test workspace" 1447
where the sandbox is "D:\Sandbox\HMI_Test workspace" and 1447 is the alias of the workspace.
Dietmar Wolf selected this answer as the correct answer

One other answer



permanent link
Ralph Schoon (60.7k33643) | answered Jul 07 '15, 8:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jul 07 '15, 8:27 a.m.

lscm load -r myserver:9443/jazz -u myid -P mypassword -d D:\Sandbox\HMI_Test workspace @1446

I don't think workspace belongs there in the help https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/c_scm_cli.html&scope=null it is in brackets which means it has to be replaced by


The workspace to load. To specify the workspace, use its name[@repo], alias, or UUID[@repo].



You could also have a space too many or an underscore too few.

Your answer


Register or to post your answer.