It's all about the answers!

Ask a question

How to list componet baselines in SCM command line?


Jeff Care (1.0k3833) | asked Feb 16 '11, 6:11 p.m.
I'm using RTC 3.0 GA & I can't figure how how to list the baselines of a component from the SCM command line. There's no "scm list baseline" command.

Is there some other way to do this from the command line that I'm missing?

5 answers



permanent link
Jeff Care (1.0k3833) | answered Feb 17 '11, 10:11 a.m.
From the Team Artifacts view in the Eclipse GUI I can do:

+Project Area
+Source Control
+Components

Right-click on the desired component, Show -> Baselines

So the information must be available. How can I get this information in the command line?

permanent link
Evan Hughes (2.4k1318) | answered Feb 17 '11, 10:12 a.m.
JAZZ DEVELOPER
I'm using RTC 3.0 GA & I can't figure how how to list the baselines of a component from the SCM command line. There's no "scm list baseline" command.


I don't believe that's possible with the CLI. You should open a feature request.

permanent link
Jeff Care (1.0k3833) | answered Feb 17 '11, 10:26 a.m.
I've opened work item 153890.

I'm using RTC 3.0 GA & I can't figure how how to list the baselines of a component from the SCM command line. There's no "scm list baseline" command.


I don't believe that's possible with the CLI. You should open a feature request.

permanent link
Garrett Rolfs (8388) | answered Feb 17 '11, 11:23 a.m.
Evan_Hughes@ca.ibm-dot-com.no-spam.invalid (echughes) writes:

carejwrote:
I'm using RTC 3.0 GA & I can't figure how how to list the
baselines of a component from the SCM command line. There's no
"scm list baseline" command.

I don't believe that's possible with the CLI. You should open a
feature request.

This may not be exactly what the original poster desires, but you can
list baselines by specifying the --verbose option on scm list components

Help on list components
List the components associated with a workspace or stream.

Aliases: component, comp

Usage: scm list components <workspace>
workspace - Workspace, stream or snapshot to list
components (name, alias or UUID)

Options:
--certificate arg - The file containing the
user's login certificate.
--smartCard - Use the connected smart card
for authentication.
-P arg - Password for repository.
-r arg - URI specifying the location
of repository.
-s - Specifies that the <workspace>
selector refers to a snapshot.
Omitting this option assumes
the selector refers to a
workspace or a stream.
-u arg - Username for repository.
-v - Show baselines.

-Garrett Rolfs

permanent link
Jeff Care (1.0k3833) | answered Feb 17 '11, 12:04 p.m.
I do need to know the current component baselines & I stumbled on the verbose flag to scm list components to find that information.

I actually need to know all of the possible baselines so I can replace the current baseline with a different on via scm workspace replace-components.

Evan_Hughes@ca.ibm-dot-com.no-spam.invalid (echughes) writes:

carejwrote:
I'm using RTC 3.0 GA & I can't figure how how to list the
baselines of a component from the SCM command line. There's no
"scm list baseline" command.

I don't believe that's possible with the CLI. You should open a
feature request.

This may not be exactly what the original poster desires, but you can
list baselines by specifying the --verbose option on scm list components

Help on list components
List the components associated with a workspace or stream.

Aliases: component, comp

Usage: scm list components <workspace>
workspace - Workspace, stream or snapshot to list
components (name, alias or UUID)

Options:
--certificate arg - The file containing the
user's login certificate.
--smartCard - Use the connected smart card
for authentication.
-P arg - Password for repository.
-r arg - URI specifying the location
of repository.
-s - Specifies that the <workspace>
selector refers to a snapshot.
Omitting this option assumes
the selector refers to a
workspace or a stream.
-u arg - Username for repository.
-v - Show baselines.

-Garrett Rolfs

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.