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

SCM CLI - List workspace properties - List flowtarget

I recently upgraded SCM Tools on my 32-bit Linux box to v4.0.3 hoping to use new CLI functionalities (like "scm workspace propertylist", "scm workspace flowtarget" etc) which were unavailable in v4.0 which I was using previously. However, after the upgrade when I ran these "scm workspace" commands, the output was minimal or not what I'd expected. 

For instance, 

1)
# scm workspace propertylist -r local myTestWorkspace
(1262) "myTestWorkspace"
  Repository: https://alm-linux:9443/ccm/
  Ownedby: (1263) "pmn"
  Visibility: Private
#
The details mentioned above are much less than what I'm able to get from the Eclipse GUI client (for the same version of RTC) - which, for the given workspace, also lists its components, the current baseline per component and flow-target, if any, among others. 

2)

# scm workspace flowtarget -r local myTestWorkspace
Argument syntax error:
Missing arguments to subcommand "workspace flowtarget" - target-workspace. Try 'scm help workspace flowtarget' for more information.
#
Which made me wonder if I misunderstood the intent of this command. That is, if a user did not know anything about the workspace "myTestWorkspace" above, is there an scm command he could use to list its current/default flow-target, if any?

Regards.

0 votes


Accepted answer

Permanent link
The workspace operations is split into multiple commands.
scm workspace propertylist {workspace}:  lists the properties/attributes of the workspace.
scm list components {workspace}: lists the components of a workspace
scm list flowtargets {workspace} : lists all the flowtargets (including default and current)
scm workspace flowtarget: allows you to set the default and current flowtarget as well scope the components of the flowtarget.

p m n selected this answer as the correct answer

0 votes

Comments

Nice! This is what I was looking for. Thanks.  

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
× 1,202
× 158
× 113
× 87

Question asked: Dec 07 '13, 5:14 a.m.

Question was seen: 6,407 times

Last updated: Dec 10 '13, 11:56 a.m.

Confirmation Cancel Confirm