How to creat new workspace without component with scmtools?
Using Eclipse client, one has the option to create a new empty workspace without the default workspace component.
How do I do that using scmtools command scm create? |
3 answers
Use the following three scm commands in sequence:
1. scm create workspace "ws_name" ... (creates workspace with default component) 2. scm workspace remove-component "default_comp_name"... (removes the default created component) 3. scm change-target unset-workspace "ws_name".... (removes the flow-target to the stream) |
Geoffrey Clemm (30.1k●3●30●35)
| answered Nov 01 '11, 3:57 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
To avoid creating all those empty components (which currently cannot be
deleted), I'd suggest creating some dummy stream, and creating new workspaces based on that stream (and then remove the flow-target). i.e. scm create workspace -s dummy-stream "ws_name" Cheers, Geoff On 11/1/2011 1:38 PM, herbertg wrote: Use the following three scm commands in sequence: |
As long as you create the workspace against an existing steam, ie, using the --stream option, this problem is bypassed. A more user friendlier method might be to add a --nodefault-comp option and just avoid the problem altogether.
To avoid creating all those empty components (which currently cannot be Use the following three scm commands in sequence: |
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.