It's all about the answers!

Ask a question

Multiple Eclipse Projects for the same Components


Tom Frauenhofer (1.3k58435) | asked Nov 06 '07, 9:13 a.m.
Coming from other SCM's, I've become well used to having 2 (or sometimes
3) sandboxes checked out from the same source project. I'm often doing a
different set of changes (uncommitted) to each of these sandboxes. I
can keep all sandboxes updated from the server.

I've tried to persuade RTC to let me do this by creating another
Repository Workspace for the same Stream. RTC is happy until I try to
'load' the 2nd workspace into Eclipse. RTC then warns me that the
Eclipse projects were 'already loaded from another location', which I
suppose is true.

So, I must be missing something. What is the correct way to get more than
one Eclipse project setup that associated with the same Stream ??

Thanks

2 answers



permanent link
Tom Frauenhofer (1.3k58435) | answered Nov 07 '07, 7:14 a.m.
The multiple sandbox paradigm that I described is something that I am very
used to, and other SCM's seamlessly support. I (and others) often have 2
or 3 sandboxes with experimental changes in them and perhaps 1 sandbox
with an actual fix under development.

Sometimes these sandboxes are checked out using different CVS or SVN tags,
but as often as not, they're all derived from the same source repository
code.

I haven't really tried using suspend/resume but it seems, at first glance,
to be a rather heavy-weight way to do this ... i.e. won't a lot of data
need to be swapped up to the server during the suspend, and back down to
the client during resume ?

One question: can I do multiple suspends i.e. can I have 2 or 3
suspended Eclipse projects ??

Your suggestion to maybe have RTC qualify the Eclipse project names (with
a name derived from the rep workspace name) seems simple enough.

I'll put this post in the workitem you mentioned

permanent link
Jean-Michel Lemieux (2.5k11) | answered Nov 07 '07, 8:23 a.m.
JAZZ DEVELOPER
Since in RTC SCM each developer has their own sandbox on the server (eg, repository workspace) the preferred approach to working on different tasks is to suspend/resume them as you switch. This allows task level switching between the changes you are working on.

Having said that, there is nothing technically hard about allowing you to load two components with the same projects, we would have to provide the overwrite dialog with a way of picking new names for the loaded projects such that they don't overlap. This is not currently in the plans for 1.0 though.

Could you try using suspend/resume for working on the multiple tasks? If this is really a big problem for you, then can you please provide comments in:

https://jazzdev.torolab.ibm.com:9443/jazz/service/%7Bdefault%7D/com.ibm.team.repository/itemName/com.ibm.team.workitem.WorkItem/35948

Jean-Michel

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.