It's all about the answers!

Ask a question

Components structure in WS


Lilach Eisenberg (3132) | asked Mar 22 '11, 2:39 a.m.
Hi,
I have 3 projects: application, infra and 3rd party.
To build the application i need components from infra and 3rd party projects. I was wondering, what is the difference (if there is one) between just loading the infra/3rd party components to the application workspace and between adding the components to the repository workspace?

Thanks,
Lilach

3 answers



permanent link
Ralph Schoon (63.6k33646) | answered Mar 22 '11, 4:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

for Eclipse there should be no difference if you load from different repository workspaces in parallel into the same location.

However, if you want better control and the ability to use build etc I think you should consider creating a stream, adding the component baselines for the components you are consuming and the component you are developing. You can base your workspace on that stream.

Ralph

Hi,
I have 3 projects: application, infra and 3rd party.
To build the application i need components from infra and 3rd party projects. I was wondering, what is the difference (if there is one) between just loading the infra/3rd party components to the application workspace and between adding the components to the repository workspace?

Thanks,
Lilach

permanent link
Lilach Eisenberg (3132) | answered Mar 22 '11, 5:02 a.m.
Thanks for the prompt replay.
you mentioned the build issue. When I create the workspace on the build server, I need it to load all 3 projects in the same hierarchy as on the developers local workspace.
To achieve this, should I go for the baseline option?
Hi,

for Eclipse there should be no difference if you load from different repository workspaces in parallel into the same location.

However, if you want better control and the ability to use build etc I think you should consider creating a stream, adding the component baselines for the components you are consuming and the component you are developing. You can base your workspace on that stream.

Ralph

Hi,
I have 3 projects: application, infra and 3rd party.
To build the application i need components from infra and 3rd party projects. I was wondering, what is the difference (if there is one) between just loading the infra/3rd party components to the application workspace and between adding the components to the repository workspace?

Thanks,
Lilach

permanent link
Ralph Schoon (63.6k33646) | answered Mar 22 '11, 5:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Lilach,

I'd create a stream that contains all components, the ones you are consuming probably set to a baseline you decided to use. The users would use repo workspaces that flow with the stream.

The Build definition would use a repository workspace owned by the build user that would flow to the same stream - this allows it to accept incoming changes. The build uses that repo workspace to load it into some folder which would automatically create the structure you need. All build operations would typically be managed relative to the load directory.

Since the other projects are only consumed you would not deliver anything there so the files would always represent the baseline or whatever state it had you picked initially.

Ralph

Thanks for the prompt replay.
you mentioned the build issue. When I create the workspace on the build server, I need it to load all 3 projects in the same hierarchy as on the developers local workspace.
To achieve this, should I go for the baseline option?
Hi,

for Eclipse there should be no difference if you load from different repository workspaces in parallel into the same location.

However, if you want better control and the ability to use build etc I think you should consider creating a stream, adding the component baselines for the components you are consuming and the component you are developing. You can base your workspace on that stream.

Ralph

Hi,
I have 3 projects: application, infra and 3rd party.
To build the application i need components from infra and 3rd party projects. I was wondering, what is the difference (if there is one) between just loading the infra/3rd party components to the application workspace and between adding the components to the repository workspace?

Thanks,
Lilach

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.