How to Accept Incoming Change Sets from 2 flow targets without manually editing the Repository Workspace properties.
2 Components are loaded in the Repository Workspace.
Flow Targets for both components are different Stream.
Both components contribute to the build. Hence I have to Accept incoming Change Set from both Streams for the build. To show the Incoming Changes for each Steam, I have to manually set the Current Flow to the respective Stream. Because of this manual effort, I tend to loose the changes from one component, before the Dev deployment.
How to Accept Incoming Change Sets from 2 flow targets without manually editing the Repository Workspace properties.
I a using RTC 6.0.6.1.
Accepted answer
In Eclipse, in Team -> Jazz_Source_Control -> Changes preferences, in the "Flow Targets" section, select "Show all (advanced).
In the Workspace editor, set both of those streams as incoming flow targets (you can have as many incoming flow targets as you want). You will then the incoming change sets from both of those streams in the Pending Changes view.
You definitely do not want to have a separate workspace for each component. And if you need to combine the changes from both streams, then there is no point in having a separate workspace for each stream ... change sets (with potential conflicts) must be combined in a single workspace.
Comments
3 other answers
For all I know, this is not supported out of the box. If you need to load multiple streams/workspaces, because you flow ( components ) against multiple streams, for all I know, you would have to create a custom load mechanism e.g. using the SCM Command Line.
The key here is "Build" and I am pretty sure you can not automate multiple flow targets in a build definition using the built in configurartion abilities. Always willing to accept different opinions, with proof though.