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

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?

0 votes



3 answers

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

0 votes


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

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)

0 votes


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

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)

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

Question asked: Oct 24 '11, 11:28 a.m.

Question was seen: 4,410 times

Last updated: Oct 24 '11, 11:28 a.m.

Confirmation Cancel Confirm