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

Omitting component from scm command share

A somewhat esoteric question, but does anyone know if it's possible to not provide a component when using the share command in scm? I'm wondering what happens in the circumstance where you initially create a workspace repository and then use share to upload files to the workspace from your local workspace; in that case, I would think that there are no components in the repository, so you cannot provide a component to share the paths in. Or does the create command also create a default component?

0 votes


Accepted answer

Permanent link
As specified in the scm help, the component argument is mandatory. It's ambiguous if you wanted to share content without specifying where it should go. The create workspace command also does not create a default component for you. If you create a workspace and need to create a component, use the create component command.
Brian Gottfried selected this answer as the correct answer

1 vote

Comments

Thanks Tim. I'll ensure that our developers know that they'll need to create a component in any new workspace before attempting to upload their files.

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
× 1,220
× 1,202

Question asked: May 23 '13, 10:12 a.m.

Question was seen: 5,407 times

Last updated: May 23 '13, 3:41 p.m.

Confirmation Cancel Confirm