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

Failing to recognise components as an argument for scm list

I'm new to the command line scm tool, but following the help on the infocentre I've managed to login fine.

I can also use the scm list command to list the workspaces in my server.

Running...

scm list workspaces -r projcollab


Produces...

(1000) "Sandpit Stream Workspace"


However I get an error message when I try to list the components in the server...

Running...

scm list components -r projcollab


Produces...

Argument syntax error:

Missing arguments to subcommand "list" - workspace


Anyone else had this problem?

I am running the Express-C 2.0.0.1 on Windows.

0 votes



4 answers

Permanent link
I played around a bit further and in the help for workspace-add-components (http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp) I saw the following as an example of using scm list...

scm list components -r b "JUnit Workspace"
Workspace: (6732) "JUnit Workspace" <-> (6725) "JUnit"
Component: (6727) "Junit"


Which look like it used a workspace name as a filter, so I tried the following ...

scm list components -r projcollab "Sandpit Stream Workspace"


where "Sandpit Stream Workspace" specified the name of my workspace and that worked...

Workspaec: (1000) WSandput Stream Workspace" <-> (1001) "Sandpit Stream"
Component: (1002) "TextFiles"


Guess I misinterpreted how the scm list command worked first time round. Will relook at the help.

0 votes


Permanent link
Took a look at the help..

http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.scm.doc/topics/r_scm_cli_list.html

...and although it does suggest that there are "object-type specific options"..

object type {object-type specific options}


...it doesn't specify these for components.

The help could do with a bit of clarification - will raise a work item.

0 votes


Permanent link
Raised a work item...

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=99249

0 votes


Permanent link
Yes, the doc is lacking in that respect.

To get the additional help, type "scm help list components" and it will
show the options that are specific to listing components.

On Thu, 12 Nov 2009 08:38:02 -0500, ghodgkinson
<ghodgkinson> wrote:

Raised a work item...

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=99249



--

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: Nov 12 '09, 7:55 a.m.

Question was seen: 5,448 times

Last updated: Nov 12 '09, 7:55 a.m.

Confirmation Cancel Confirm