It's all about the answers!

Ask a question

Multiple Stream Targets for single change set


Maruthi Latha (122) | asked Aug 06 '13, 2:03 p.m.
Hi,
I want to know whether setting multiple stream targets for a single change set is possible ? Actually we are maintaining two streams and I want ensure that what ever code delivered into one stream should be automatically delivered to the second stream as well. Is this can be achieved from setting flow targets ?

4 answers



permanent link
Surya Tripathi (65017) | answered Aug 06 '13, 2:24 p.m.
You can deliver your changes from one stream to another.
You can do so by enabling the post build activities in your build definition. You can further specify when to deliver the changes to the target stream - when build succeeds or always. You can also select which components to deliver.



Comments
Jeff Care commented Aug 06 '13, 2:50 p.m.

That will replace baselines, which is not quite the same thing.

If you don't care about potential conflicts & just want a brute force copy, this might work.


permanent link
Jeff Care (1.0k3733) | answered Aug 06 '13, 2:30 p.m.
I do not know of a way to automatically flow to multiple targets.

There are lots of do multi-stream maintenance. Assuming you have a service & a "trunk" stream, here's what I would do:
  1. Create a maintenance workspace; primary flow target is the maintenance stream.
  2. Make fix(es)
  3. Deliver fix(es) to maintenance stream
  4. Change flow target to trunk stream
  5. Accept all
  6. Merge as necessary to resolve conflicts; rework fix(es) as needed
  7. Deliver fix(es) to trunk stream
  8. Change flow target back to maintenance stream
  9. Discard outgoing changesets

Comments
Tim Mok commented Aug 07 '13, 10:21 a.m.
JAZZ DEVELOPER

The Eclipse Pending Changes view also has a preference to show all flow targets. Then you can deliver to both flow targets at the same time. Although, it doesn't ensure that a change flowing to one flow target is delivered to the other flow target.


permanent link
Zachary Demers (20137) | answered Aug 06 '13, 2:35 p.m.
Hello Maruthi,

You are able to deliver change sets automatically between steams using the provided build functionality.  Please see delivering change sets automatically between steams from the article cool hidden features in RTC.

You may also manually submit changes between steams by adding both steams in the flow target.  Right click the steam and select Show>>Pending Changes.

permanent link
Abraham Sweiss (2.4k1331) | answered Aug 06 '13, 4:26 p.m.
edited Aug 07 '13, 11:52 a.m.
You can set one stream as a flow target of another to keep then in sync.  For stream to stream flow targets, they are not by-directional, so each stream will need to set the other as a flow target.

For example, if there are two streams A and B, where B is configured to be a flow target of a.  When a change set is delivered to stream A, the change set will then appear in the pending change view of stream B.  this change set wil then need to be accepted by stream b.

 However if a change set is delivered to stream B, it will not appear in the pending view of stream A.  


Comments
Tim Mok commented Aug 07 '13, 10:19 a.m.
JAZZ DEVELOPER

That only shows intent to flow changes and is used when showing a stream in Pending Changes view. It does not automatically flow changes between the streams.

Your answer


Register or to post your answer.