Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Two different CVS repositories for the same project
Two different CVS repositories for the same project [message #198735] Fri, 09 March 2007 10:38 Go to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

I have a sort of "strange" question :-) , I would like to have a
Java-Eclipse project with two different CVS repositories. The setup is
the following:

Repository A ---> my local machine (only update)
Repository B <--> my local machine (both update and commit)

Rep A contains (somewhere in the wide world) an open source project, of
which I always want to have the latest version.

Rep B is somewhere on an internal server in our shop and should host my
changes.

Could somebody say how one can handle this constellation with the
Eclipse CVS capacity?

Cheers
Amir


P.S.: Thanks for Hendrik for the translation of the original message
from german to english, as the message was firstly posted in a german
forum with no success.
Re: Two different CVS repositories for the same project [message #198760 is a reply to message #198735] Fri, 09 March 2007 16:48 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

user@domain.invalid wrote:
> I have a sort of "strange" question :-) , I would like to have a
> Java-Eclipse project with two different CVS repositories. The setup is
> the following:
>
> Repository A ---> my local machine (only update)
> Repository B <--> my local machine (both update and commit)
>
> Rep A contains (somewhere in the wide world) an open source project, of
> which I always want to have the latest version.
>
> Rep B is somewhere on an internal server in our shop and should host my
> changes.

I see two options:
A) use a separate Eclipse Project for the open-source project, and have
your "internal" project depend on that one.
B) You can check out from multiple repositories into a single Eclipse
Project. You just have to keep them in separate directories within the
Eclipse project. For example:
YourProjectName/
.project
.classpath
OpenSourceProjectName/
<files from Repository A>
Internal/
<files from Repository B>

When you do Team operations on the whole project it will understand to
look at both repositories appropriately.

My personal preference is for option A - I like to keep projects focused
and single-minded whenever possible, like classes and methods.

Hope this helps,
Eric
Previous Topic:Is the Zip file editor a plugin, or part of the core?
Next Topic:Report Paramers in BIRT
Goto Forum:
  


Current Time: Fri Mar 29 00:46:41 GMT 2024

Powered by FUDForum. Page generated in 0.03432 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top