Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Branching an eclipse project and jazz

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?

 

 

 

  

0 votes


Accepted answer

Permanent link
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

0 votes


One other answer

Permanent link
There are several articles regarding streams.   This article talks specifically about multiple streams.   Or search on "stream" in the Library

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Oct 22 '15, 12:16 p.m.

Question was seen: 2,037 times

Last updated: Oct 22 '15, 11:22 p.m.

Confirmation Cancel Confirm