It's all about the answers!

Ask a question

Possible for command line scm tool to create a snapshot?


Chris Melikian (6672) | asked Dec 17 '08, 6:37 a.m.
As the subject says really. The command line scm tool can create a baseline but I can't seem to be able to create a snapshot from it. A baseline isn't really good enough as I can't create a new workspace from the baseline. I realise I can add the component from the stream then replace the component with a version from another baseline but it would be nice to have the snapshot capability.

Cheers, Chris.

8 answers



permanent link
Evan Hughes (2.4k1318) | answered Dec 17 '08, 3:11 p.m.
JAZZ DEVELOPER
It is not possible to create a snapshot via the CLI. :(

e

permanent link
Chris Melikian (6672) | answered Dec 18 '08, 3:27 a.m.
It is not possible to create a snapshot via the CLI. :(

e


ugh. Thanks for the clarification! :)

Cheers, Chris.

permanent link
Erik anderson (38315029) | answered Oct 15 '09, 3:51 p.m.
Our build process generates files we want included in the build results (snapshot and changes).

Is this still true in 2.0 (not able to create a snapshot using CLI)?

If not possible, are there plans to provide it?

If not possible with CLI, can we do this with the java or rest API?

permanent link
Andrew Hoo (1.0k1) | answered Oct 19 '09, 9:48 a.m.
JAZZ DEVELOPER
There is "scm create snapshot". I believe this was introduced in 2.0 or
2.0.0.1. I have not double checked to confirm but I have it in latest in
the very least.

On Thu, 15 Oct 2009 15:52:58 -0400, eanderso
<erik_anderson> wrote:

Our build process generates files we want included in the build
results (snapshot and changes).

Is this still true in 2.0 (not able to create a snapshot using CLI)?

If not possible, are there plans to provide it?

If not possible with CLI, can we do this with the java or rest API?



--

permanent link
Jose Miguel Ordax Cassa (2.4k4126100) | answered Nov 24 '09, 9:23 a.m.
On 19-Oct-09 3:48 PM, Andrew Hoo wrote:
There is "scm create snapshot". I believe this was introduced in 2.0 or
2.0.0.1. I have not double checked to confirm but I have it in latest in
the very least.

Any idea about how to use it?
I am checking the help:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/r_scm_cli_create.html

and all combinations of the command line I use fail.
For example, "scm create snapshot -r MyURL -u MyUser -P MyPassword
MyNameForSnapshot fails. Adding -s fails. Adding stream ID before the
name, fails...

Any sample?

Thanks,

Chemi.

permanent link
Christophe Elek (2.9k13021) | answered Nov 24 '09, 10:55 a.m.
JAZZ DEVELOPER
Chemi and I realized we could use

scm help create snapshot


to get more info
Thanks John :)

permanent link
Jose Miguel Ordax Cassa (2.4k4126100) | answered Nov 24 '09, 11:08 a.m.
After some hours fighting with the command, thanks to Christophe and
John help I discovered the docs about SCM CLI are really broken... :-(

Forget this URL:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/r_scm_cli_create.html

And use following command instead: scm help create snapshot

Hope this earns time to others,

Chemi.

permanent link
SEC Servizi (97123860) | answered May 14 '12, 5:22 a.m.
I discovered the docs about SCM CLI are really broken... :-(

Forget this URL:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/r_scm_cli_create.html

And use following command instead: scm help create snapshot

Quote! The on-line help at that URL is really buggy... :evil:
For example:
scm create baseline [options] [components] <baseline>


instead of:
scm create baseline [options] <workspace> <baseline> [components]

:roll:
So, always use:
scm help

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.