Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How do I add an already checked out CVS repository to my project?
How do I add an already checked out CVS repository to my project? [message #144940] Tue, 24 February 2004 15:45 Go to next message
Eclipse UserFriend
Originally posted by: tom.encima.be

Hi,

I'm new to Eclipse, I used to work with Intellij IDEA.

How do I add an already checked out cvs module to my project ?
It seems you can only check out an entire cvs module to a new dir.
I have a c:\cvs dir and there are some files that are already modified but
not checked in.

Thanks,

Tom
Re: How do I add an already checked out CVS repository to my project? [message #145220 is a reply to message #144940] Wed, 25 February 2004 15:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-user.jibeinc.com

Tom Ferdinande wrote:

> Hi,
>
> I'm new to Eclipse, I used to work with Intellij IDEA.
>
> How do I add an already checked out cvs module to my project ?
> It seems you can only check out an entire cvs module to a new dir.
> I have a c:\cvs dir and there are some files that are already modified but
> not checked in.

There are a couple of options.
One is to do a File > Import of your existing check-out into a newly
created Eclipse Project. I don't do this so I'm not sure it will realize
the CVS information, but I'd bet it does.

Second, you can try simply copying the directory tree into your Eclipse
workspace under a project name. Then in Eclipse create a new Project
using that name (by default, the workspace subdirectory is the same as
the Project name). Eclipse will recognize there are already files in
that directory and you can then specify your source dirs easily since
they are already in the Project.

Third, you can create a new Project and specify the Project Contents
directory as the one you already have (C:\cvs).

BTW, the Eclipse Help has some tutorials and talks a lot about Project
and file management - I strongly suggest going through it to see what
advice it provides.

HTH,
Eric
--
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com
Re: How do I add an already checked out CVS repository to my project? [message #147337 is a reply to message #145220] Thu, 04 March 2004 19:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rlam.vitria.com

One caveat to note is that Eclipse isn't compatible with CVS command line
tool. In other words, once Eclipse "mauls" over the directories, you won't
be able to go back and use CVS command line anymore. Several people on the
web have blogged about this.
-rex

"Eric Rizzo" <eclipse-user@jibeinc.com> wrote in message
news:c1igli$t96$1@eclipse.org...
> Tom Ferdinande wrote:
>
> > Hi,
> >
> > I'm new to Eclipse, I used to work with Intellij IDEA.
> >
> > How do I add an already checked out cvs module to my project ?
> > It seems you can only check out an entire cvs module to a new dir.
> > I have a c:\cvs dir and there are some files that are already modified
but
> > not checked in.
>
> There are a couple of options.
> One is to do a File > Import of your existing check-out into a newly
> created Eclipse Project. I don't do this so I'm not sure it will realize
> the CVS information, but I'd bet it does.
>
> Second, you can try simply copying the directory tree into your Eclipse
> workspace under a project name. Then in Eclipse create a new Project
> using that name (by default, the workspace subdirectory is the same as
> the Project name). Eclipse will recognize there are already files in
> that directory and you can then specify your source dirs easily since
> they are already in the Project.
>
> Third, you can create a new Project and specify the Project Contents
> directory as the one you already have (C:\cvs).
>
> BTW, the Eclipse Help has some tutorials and talks a lot about Project
> and file management - I strongly suggest going through it to see what
> advice it provides.
>
> HTH,
> Eric
> --
> Eric Rizzo
> Software Architect
> Jibe, Inc.
> http://www.jibeinc.com
Re: How do I add an already checked out CVS repository to my project? [message #147423 is a reply to message #147337] Fri, 05 March 2004 03:40 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-user.jibeinc.com

R. Lam wrote:

> One caveat to note is that Eclipse isn't compatible with CVS command line
> tool. In other words, once Eclipse "mauls" over the directories, you won't
> be able to go back and use CVS command line anymore. Several people on the
> web have blogged about this.

Got a reference?
AFAIK, Eclipse does not do anything non-standard to the CVS directory
entries as it operates. Yes, it is generally recommended that you not
try frequent switching between Eclipse CVS client and command-line
client on the same directory structure, but I believe that is a
recommendation of the same kind as "always ground yourself before
touching internal components of a computer" - IOW, it is a good idea but
you can ignore the advice 99 times out of 100 without getting in trouble.

That said, I see no reason why people seem to want to maintain only one
checkout on their machines. I have some of our modules checked out
multiple places on my machine, each for a different purpose. CVS is
intended for storage, tracking, and easy exchange/transfer of files -
let it do its job and stop trying to share one CVS view for multiple
purposes.

Eric
--
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com
Previous Topic:Visual GUI designer
Next Topic:Uncomment command
Goto Forum:
  


Current Time: Mon Jul 22 20:48:18 GMT 2024

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

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

Back to the top