Sharing Code between Project Areas
Hello,
am I able to share Code between project areas? We have two projects developing in J2ME, and both want to use key functionalities like logging. There are common util classes in our organization. Is it possible to share code, e.g. on the base of components oder eclipse projects, between project areas? We do not want to set up a common project area, because of the organizational overhead.
Best regards
mboehmer
am I able to share Code between project areas? We have two projects developing in J2ME, and both want to use key functionalities like logging. There are common util classes in our organization. Is it possible to share code, e.g. on the base of components oder eclipse projects, between project areas? We do not want to set up a common project area, because of the organizational overhead.
Best regards
mboehmer
3 answers
This is very much supported. Start by deciding which project will own the main development of the common code and put the code for the shared code into it's own component and into a stream.
Now any project area can add that component to their stream. Open the stream editor and click the Add... button and select to either pick a baseline or latest in another stream. Then navigate to the component with the shared code. I recommend that the provider of the shared code create snapshots or baselines for releases of that shared code, and the consumer can add the approved baselines to their streams.
Jean-Michel
Jazz Source Control Team
Now any project area can add that component to their stream. Open the stream editor and click the Add... button and select to either pick a baseline or latest in another stream. Then navigate to the component with the shared code. I recommend that the provider of the shared code create snapshots or baselines for releases of that shared code, and the consumer can add the approved baselines to their streams.
Jean-Michel
Jazz Source Control Team
Everyone can contribute to the new component, in as many parallel
"streams" as you wish.
Cheers,
Geoff
mboehmer wrote:
"streams" as you wish.
Cheers,
Geoff
mboehmer wrote:
Okay, sounds good! But is everybody able to contribute code to the new
component? Or are only those developers of the project taken over the
main development able to deliver change-sets?
mboehmer