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

snapshot in both streams when workspace has mult flow trgts?

I am considering setting up a workspace with multiple flow targets so that a single build can be done using the source from two different streams. This is the way a customer wants to do it. My question is, with this setup, which uses the ant toolkit to do the accept, fetch, etc., when the changes are accepted, thus loading the workspace and creating a snapshot, will a snapshot be created in each stream? For recreatability purposes, I think a snapshot in each stream is necessary else how would you be able to get the same exact build source again in the future, if needed.

0 votes



3 answers

Permanent link
I am considering setting up a workspace with multiple flow targets so that a single build can be done using the source from two different streams. This is the way a customer wants to do it. My question is, with this setup, which uses the ant toolkit to do the accept, fetch, etc., when the changes are accepted, thus loading the workspace and creating a snapshot, will a snapshot be created in each stream? For recreatability purposes, I think a snapshot in each stream is necessary else how would you be able to get the same exact build source again in the future, if needed.

Snapshots can only exist in one place. Creating a snapshot on a stream would put it in the stream by default. If you create a snapshot of your workspace after accepting the changes from both streams, the snapshot will be held by the workspace.

What I suggest is creating a third stream to integrate the changes from the two streams. Run the build from the integration stream and the build will create a snapshot for you.

0 votes


Permanent link
Thanks for the quick reply. I didn't realize snapshots could be made of various objects. I think what is happening is the teamAccept is making a snapshot of the workspace which, if set to flow with multiple streams, will save the data from both streams. If that's true then that's exactly what I need assuming I can later load my workspace from that workspace snapshot thus being able to exactly recreate that build.

0 votes


Permanent link
Thanks for the quick reply. I didn't realize snapshots could be made of various objects. I think what is happening is the teamAccept is making a snapshot of the workspace which, if set to flow with multiple streams, will save the data from both streams. If that's true then that's exactly what I need assuming I can later load my workspace from that workspace snapshot thus being able to exactly recreate that build.


Yes, the workspace used for the build will have the snapshot so it will be very easy to recreate. There is also a link in the build result to the workspace used and the snapshot that was created. The snapshot can be used to seed a new workspace or stream.

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: Feb 21 '11, 2:48 p.m.

Question was seen: 4,265 times

Last updated: Feb 21 '11, 2:48 p.m.

Confirmation Cancel Confirm