It's all about the answers!

Ask a question

Command line interface creating respository workspace

Sean Burke (3789143245) | asked Apr 04 '13, 1:17 p.m.
edited Apr 04 '13, 1:22 p.m.
I was referencing this article in regards to creating a repository workspace. Getting Started with the jazz scm command line/

In  creating a repository workspace this is the command. I notice that there is not a specification for the project area.  You put in a nickname and stream name in the script but what if you have streams with the same name in different project areas?  How would this be handled?   I could have a stream called "Main Dev" or "2013Q2" in different project areas.

~$ lscm create workspace -r local -s Stream1 Workspace1
Workspace (4819) "Workspace1" successfully created

One answer

permanent link
Lily Wang (4.9k714) | answered Apr 05 '13, 12:00 a.m.

Hi Sean,

You can use the command "lscm list streams --projectarea <project_area_name" to list the alias of the streams owned by the project area. The alias is a short string of digits.

Then use "lscm create workspace -r <repo-connection> -s <stream_alias> <workspace_name" to create the workspace.

Hope the above command is helpful.




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.