It's all about the answers!

Ask a question

Branching an eclipse project and jazz


Norman Dignard (356688168) | asked Oct 22 '15, 12:16 p.m.

One group of our JAZZ users is using Eclipse as their workbench and they have the RTC pluggins and the current project is under JAZZ source control.

In Jazz they currently have only one main stream.  They now need to support a parallel development effort on the exisiting stream/code base as well as on  another branch which may become the furture main stream.

On the JAZZ server side, we can create a new stream, seeding from the old.  The problem lies on the user workspace side.   Within their Eclipse they want access to both the main and branch workspaces (from JAZZ) within the same  Eclipse workspace.   We tried creating and loading a new jazz sandbox for the branch in their Eclispe (which had the original project loaded and running in their Package Explorer) but  it would not load the project. I presume that this is due to an exisitng project being loaded.

In short how to you setup/support parrallel development of Eclipse based projects within the same Eclipse workspace?

 

 

 

  

Accepted answer


permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 22 '15, 11:22 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In order to have multiple streams loaded into the same Eclipse workspace, you need to load multiple repository workspaces (one for each stream) into that Eclipse workspace.   You will of course be fighting against Eclipse when you do so, since Eclipse as an IDE wants you to have one configuration of a give project loaded, or else it is ambiguous which configuration's definitions should be used by all the semantic operations of the IDE (for example, running a debug session ... which configuration of that project should be invoked by the debugger).   So those error messages about loading a project that is already loaded aren't coming from RTC ... they are coming from Eclipse.  There are of course various games that can be played, involving massaging the project names so they are distinct, but if those games involve modifying the contents of files on disk, you will need to be careful not to deliver those modifications to the stream.   Some folks use .jazzignore files to help with that.   But more commonly, people will just use more than one Eclipse workspace ... one for each stream (that is certainly the simplest approach, since you don't have to fight with Eclipse to do so).
Norman Dignard selected this answer as the correct answer

One other answer



permanent link
Kevin Ramer (4.5k8183200) | answered Oct 22 '15, 4:52 p.m.
There are several articles regarding streams.   This article talks specifically about multiple streams.   Or search on "stream" in the Library

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.