It's all about the answers!

Ask a question

Stream connected to an another stream


denis bottasso (61) | asked Jan 27 '11, 8:21 a.m.
Hello,

I am a beginner on the JAZZ RTC and I have a question about the stream usage.

I want to create stream connected to an another stream

For example:


Stream2 |
|-------------------------- Stream3
Stream1 |


2 teams develop different component and have both one main collaboration stream stream1 and stream2.

And when a change set is delivered to the stream 1 or the stream 2, I want to have the change set propagated to the Stream3

I tried several combinations but I didnt received any incoming change in the stream3.

What is the meaning on an arrow between 2 streams??

Thanks for your help.

8 answers



permanent link
Sean G Wilbur (87222421) | answered Jan 27 '11, 9:53 a.m.
JAZZ DEVELOPER
For an example of changes flowing from Stream to Stream take a look at: http://jazz.net/library/article/40

At the end there is a flow diagram example from one of the development teams on jazz.net. The pieces that are not being show are the workspaces that are connecting the two streams, reading through the article helps explain the concepts of flowing changes between them, if you have other questions after that post away.

-Sean

permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 27 '11, 10:53 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
When you make a stream a flow target of another stream, that is just a
comment to let other users know what your intent is for those streams.
To flow changes from one stream to another, you need to create a
workspace, where you would accept changes from the one stream and
deliver those changes to the other stream.

Cheers,
Geoff

On 1/27/2011 8:23 AM, atosjazz1 wrote:
Hello,

I am a beginner on the JAZZ RTC and I have a question about the stream
usage.

I want to create stream connected to an another stream

For example:


Stream2 |
|--------------------------
Stream3
Stream1 |


2 teams develop different component and have both one main
collaboration stream stream1 and stream2.

And when a change set is delivered to the stream 1 or the stream 2, I
want to have the change set propagated to the Stream3

I tried several combinations but I didnt received any incoming
change in the stream3.

What is the meaning on an arrow between 2 streams??

Thanks for your help.

permanent link
Robert Elliott (101116) | answered Jan 28 '11, 1:30 a.m.
You can also flow these streams automatically without using a workspace by leveraging the build engine. I have done it but try to avoid it for a variety of reasons. If you do want to do it - I believe there is an article now posted by Rational describing how to do it.


When you make a stream a flow target of another stream, that is just a
comment to let other users know what your intent is for those streams.
To flow changes from one stream to another, you need to create a
workspace, where you would accept changes from the one stream and
deliver those changes to the other stream.

Cheers,
Geoff

On 1/27/2011 8:23 AM, atosjazz1 wrote:
Hello,

I am a beginner on the JAZZ RTC and I have a question about the stream
usage.

I want to create stream connected to an another stream

For example:


Stream2 |
|--------------------------
Stream3
Stream1 |


2 teams develop different component and have both one main
collaboration stream stream1 and stream2.

And when a change set is delivered to the stream 1 or the stream 2, I
want to have the change set propagated to the Stream3

I tried several combinations but I didnt received any incoming
change in the stream3.

What is the meaning on an arrow between 2 streams??

Thanks for your help.

permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 28 '11, 9:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The only technique I am aware of for directly updating a target stream
from a source stream without using a workspace would be to create a
baseline in the source stream and then to update the component in the
target stream to select that baseline. This has the risk of overwriting
changes in the target stream, so isn't an approach that I'd recommend,
unless this is the only process that ever updates that component in the
target stream.

If there is some other technique, I'd be very interested in hearing
about it.

Cheers,
Geoff

On 1/28/2011 1:38 AM, rpelliottjr wrote:
You can also flow these streams automatically without using a
workspace by leveraging the build engine. I have done it but try to
avoid it for a variety of reasons. If you do want to do it - I
believe there is an article now posted by Rational describing how to
do it.


gmclemmwrote:
When you make a stream a flow target of another stream, that is just
a
comment to let other users know what your intent is for those
streams.
To flow changes from one stream to another, you need to create a
workspace, where you would accept changes from the one stream and
deliver those changes to the other stream.

Cheers,
Geoff

On 1/27/2011 8:23 AM, atosjazz1 wrote:
Hello,

I am a beginner on the JAZZ RTC and I have a question about the
stream
usage.

I want to create stream connected to an another stream

For example:


Stream2 |
|--------------------------
Stream3
Stream1 |


2 teams develop different component and have both one main
collaboration stream stream1 and
stream2.

And when a change set is delivered to the stream 1 or the stream 2,
I
want to have the change set propagated to the Stream3

I tried several combinations but I didnt received any
incoming
change in the stream3.

What is the meaning on an arrow between 2 streams??

Thanks for your help.


permanent link
Robert Elliott (101116) | answered Jan 28 '11, 9:59 a.m.
You can use the scm client abilities to copy from stream to stream by leveraging the build engine. I did it by simply creating a batch file.

The Rational article provides an ant script in xml showing this approach.

http://jazz.net/library/article/529 (Delivering Change Sets Automatically Between Streams)


The only technique I am aware of for directly updating a target stream
from a source stream without using a workspace would be to create a
baseline in the source stream and then to update the component in the
target stream to select that baseline. This has the risk of overwriting
changes in the target stream, so isn't an approach that I'd recommend,
unless this is the only process that ever updates that component in the
target stream.

If there is some other technique, I'd be very interested in hearing
about it.

Cheers,
Geoff

permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 28 '11, 1:53 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Interesting ... the documentation on the "scm deliver" command states:
"Deliver change sets from a repository workspace to another workspace or
stream".

I'll submit a work item to fix the documentation.

So apparently, although you cannot deliver directly from one stream to
another via the GUI, you can deliver directly from one stream to another
via the scm command line.

As a side note: the article is titled "Cool Hidden Features in Rational
Team Concert : Part 2" ... given the documentation, this is correctly
classified as a hidden feature (:-).

Cheers,
Geoff


On 1/28/2011 10:08 AM, rpelliottjr wrote:
You can use the scm client abilities to copy from stream to stream by
leveraging the build engine. I did it by simply creating a batch
file.

The Rational article provides an ant script in xml showing this
approach.

http://jazz.net/library/article/529 (Delivering Change Sets
Automatically Between Streams)


gmclemmwrote:
The only technique I am aware of for directly updating a target
stream
from a source stream without using a workspace would be to create a

baseline in the source stream and then to update the component in
the
target stream to select that baseline. This has the risk of
overwriting
changes in the target stream, so isn't an approach that I'd
recommend,
unless this is the only process that ever updates that component in
the
target stream.

If there is some other technique, I'd be very interested in hearing

about it.

Cheers,
Geoff


permanent link
Christophe Cornu (47123) | answered Jan 29 '11, 5:05 p.m.
> And when a change set is delivered to the stream 1 or the stream 2, I want to have the change set propagated to the Stream3
Just curious, do you need that delivery to be conditional (e.g. after a build in stream 1 or 2 is successful) or not?
If stream 1 and stream 2 are not identical, is it possible the change sets can't always be delivered to stream 3 (or maybe the change sets from stream 1 come from component 1 and those from stream 2 come from component 2)?

Thanks,
Christophe Cornu
RTC SCM Client

permanent link
denis bottasso (61) | answered Jan 31 '11, 10:42 a.m.
You can use the scm client abilities to copy from stream to stream by leveraging the build engine. I did it by simply creating a batch file.

The Rational article provides an ant script in xml showing this approach.

http://jazz.net/library/article/529 (Delivering Change Sets Automatically Between Streams)


The only technique I am aware of for directly updating a target stream
from a source stream without using a workspace would be to create a
baseline in the source stream and then to update the component in the
target stream to select that baseline. This has the risk of overwriting
changes in the target stream, so isn't an approach that I'd recommend,
unless this is the only process that ever updates that component in the
target stream.

If there is some other technique, I'd be very interested in hearing
about it.

Cheers,
Geoff


OK thanks a lot for your explanation and the documentation.

I have used the scm command tool, to deliver change set from one stream to another stream and it works.

Best Regards,

Denis

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.