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 thescm list command to list the workspaces in my server.
Running...
Produces...
However I get an error message when I try to list the components in the server...
Running...
Produces...
Anyone else had this problem?
I am running the Express-C 2.0.0.1 on Windows.
I can also use the
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.
4 answers
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...
Which look like it used a workspace name as a filter, so I tried the following ...
where "Sandpit Stream Workspace" specified the name of my workspace and that worked...
Guess I misinterpreted how the scm list command worked first time round. Will relook at the help.
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.
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"..
...it doesn't specify these for components.
The help could do with a bit of clarification - will raise a work item.
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.
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:
--
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
--