It's all about the answers!

Ask a question

is it possible to add or replace the baseline of component to new component in same stream


anisha unni (113) | asked Mar 30 '16, 10:35 a.m.

A stream has 2 components

Test Component & Sample Component

 Is it possible to replace the Sample component baseline with Test Component ?


Comments
anisha unni commented Mar 31 '16, 5:04 a.m.

Stream name : A

Components under Stream "A" : 1) Test  2) Sample.

The developer want the sample component source code to be loaded in Test component.

So he has created a Baseline( sample_base) in Sample component and try to replace in Test components, however the baseline (sample_base) is not showing while replacing.

I have created the repository and loaded the Sample component and upload the source code to Test component. Is there any way to load the component source code to other component within same stream.

 


Ralph Schoon commented Mar 31 '16, 5:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I think you don't understand what a component is. Components in RTC contain one or more Eclipse projects and are used to version them. So basically the projects would usually stay in the component. If you want to change in which component code shows up, e.g. to adjust your where code shows up to change the architectural structure, you can move projects from one component to another. Your idea with replacing the baseline of one component with the baseline of another component does not work.

 For an introduction in Jazz SCM see:
https://jazz.net/library/article/126
https://jazz.net/library/article/539
https://jazz.net/library/article/1481

One answer



permanent link
Geoffrey Clemm (30.1k23035) | answered Mar 31 '16, 12:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It is unclear what result you want to achieve, i.e., what do you want the stream to contain when you are done?
If you want it to only contain Test Component, then just remove Sample Component from the stream.

Comments
Ralph Schoon commented Mar 31 '16, 1:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I have to agree with Geoff here. The question does not make a lot of sense. You either have both components or you just have one. You can achieve that by adding or removing components from a stream. You can replace the baseline in a component with another baseline of the same component. Replacing the baseline of component with the baseline of a different component does not seem to make sense to me.

Your answer


Register or to post your answer.