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

Possible for command line scm tool to create a snapshot?

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.

0 votes



8 answers

Permanent link
It is not possible to create a snapshot via the CLI. :(

e

0 votes


Permanent link
It is not possible to create a snapshot via the CLI. :(

e


ugh. Thanks for the clarification! :)

Cheers, Chris.

0 votes


Permanent link
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?

0 votes


Permanent link
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?



--

0 votes


Permanent link
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.

0 votes


Permanent link
Chemi and I realized we could use

scm help create snapshot


to get more info
Thanks John :)

0 votes


Permanent link
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.

0 votes


Permanent link
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

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: Dec 17 '08, 6:37 a.m.

Question was seen: 12,257 times

Last updated: Dec 17 '08, 6:37 a.m.

Confirmation Cancel Confirm