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

"Unmatched component" error when running 'lscm workspace component ...'

I have a component associated with stream myStream and repository workspace A.
If I list components, it shows up:

    $ lscm list components -m 9999 -r pilot
    :
    myComp

If I try to associate that component with repository workspace B, however, I get the following error:

    $ lscm workspace component -r pilot workspaceB myStream myComp
    Problem running 'workspace component':
    Unmatched component "myComp".

I have carried out similar operations before without a problem. Can anyone suggest a likely cause of this error?

Thanks,
John

0 votes



One answer

Permanent link
I believe you are trying to add the component to workspace B. If that is the case the right command to use is: 'scm workspace add-components workspaceB myComp'. By the way, if there are multiple components in the repository with the same name then you may see any 'ambiguous component' error. In that case, you need to specify the alias/uuid of the component.

'lscm list components -r pilot' will search the entire repository. You can specify the 'lscm list components -r pilot myStream' to just list the components of a stream/workspace.

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
× 12,019
× 343

Question asked: Feb 20 '14, 9:47 p.m.

Question was seen: 5,919 times

Last updated: Feb 20 '14, 10:25 p.m.

Confirmation Cancel Confirm