It's all about the answers!

Ask a question

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


John Bayley (122) | asked Feb 20 '14, 9:47 p.m.
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

One answer



permanent link
Shashikant Padur (4.2k27) | answered Feb 20 '14, 10:25 p.m.
JAZZ DEVELOPER
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.

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.