Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Getting started with Eclipse and CVS
Getting started with Eclipse and CVS [message #262483] Mon, 04 August 2008 15:47 Go to next message
Eclipse User
Originally posted by: Gail.Walker.belmont.ppdi.com

I'm very new to Eclipse and CVS though I have plenty of experience with
programming and with rcs.

I'm still experimenting and want to understand how to setup a CVS
repository for use with Eclipse. My PC runs Windows XP. I've gone through
some Eclipse tutorials and CVS documentation. I'm running Eclipse 3.3.2
and I downloaded CVS from the Ximbiot website.

Looking in the Eclipse Help, it tells me how to setup a CVS Repository to
use with an Eclipse project. It shows a form to fill out with fields for:
Location - Host and Repository Path
Authentication - User and Password
Connection - Connection type, and radio buttons for
Use default port or Use port

I want to use a repository on another Windows machine on a local network.
The directory I want to use is one I can reference in Windows as
\\othermachine\somedir\cvstest but I can't figure out what to enter in the
form!?

Using CVS directly I can just set the CVS directory (or use the -d switch)
and specify \\othermachine\somedir\cvstest and CVS just works. It's using
the local access method but Eclipse doesn't seem to allow for local. The
connection type choices in the dropdown list are pserver, ext, extssh, and
pserverssh2 - no "local".

If I put \\othermachine in as the host and \somedir\cvstest as the
repository path and my Windows username (e.g. gmw) and password and try to
connect, I get error:
Error validation location: "Could not connect to
:pserver:gmw@\\othermachine:\somedir\cvstest Cannot locate host:
\\othermachine"

So what does Eclipse want in that form? How can I do what I want? Feel
free to tell me of some manual or web page to read.
ANY help appreciated.
Re: Getting started with Eclipse and CVS [message #262486 is a reply to message #262483] Mon, 04 August 2008 16:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
Gail,

Someone more knowledgeable should try to help but in the meantime, you
might want to try using "othermachine as the host and /somedir/cvstest
as the path....


Gail Walker wrote:
> I'm very new to Eclipse and CVS though I have plenty of experience
> with programming and with rcs.
>
> I'm still experimenting and want to understand how to setup a CVS
> repository for use with Eclipse. My PC runs Windows XP. I've gone
> through some Eclipse tutorials and CVS documentation. I'm running
> Eclipse 3.3.2 and I downloaded CVS from the Ximbiot website.
>
> Looking in the Eclipse Help, it tells me how to setup a CVS Repository
> to use with an Eclipse project. It shows a form to fill out with
> fields for:
> Location - Host and Repository Path
> Authentication - User and Password
> Connection - Connection type, and radio buttons for Use default port
> or Use port
>
> I want to use a repository on another Windows machine on a local
> network. The directory I want to use is one I can reference in Windows
> as \\othermachine\somedir\cvstest but I can't figure out what to enter
> in the form!?
> Using CVS directly I can just set the CVS directory (or use the -d
> switch) and specify \\othermachine\somedir\cvstest and CVS just works.
> It's using the local access method but Eclipse doesn't seem to allow
> for local. The connection type choices in the dropdown list are
> pserver, ext, extssh, and pserverssh2 - no "local".
>
> If I put \\othermachine in as the host and \somedir\cvstest as the
> repository path and my Windows username (e.g. gmw) and password and
> try to connect, I get error:
> Error validation location: "Could not connect to
> :pserver:gmw@\\othermachine:\somedir\cvstest Cannot locate host:
> \\othermachine"
>
> So what does Eclipse want in that form? How can I do what I want? Feel
> free to tell me of some manual or web page to read. ANY help appreciated.
>
Re: Getting started with Eclipse and CVS [message #262492 is a reply to message #262483] Mon, 04 August 2008 18:16 Go to previous messageGo to next message
Eclipse User
Originally posted by: eclipse-news.rizzoweb.com

Gail Walker wrote:
> I'm very new to Eclipse and CVS though I have plenty of experience with
> programming and with rcs.
>
> I'm still experimenting and want to understand how to setup a CVS
> repository for use with Eclipse. My PC runs Windows XP. I've gone
> through some Eclipse tutorials and CVS documentation. I'm running
> Eclipse 3.3.2 and I downloaded CVS from the Ximbiot website.
>
> Looking in the Eclipse Help, it tells me how to setup a CVS Repository
> to use with an Eclipse project. It shows a form to fill out with fields
> for:
> Location - Host and Repository Path
> Authentication - User and Password
> Connection - Connection type, and radio buttons for Use default port or
> Use port
>
> I want to use a repository on another Windows machine on a local
> network. The directory I want to use is one I can reference in Windows
> as \\othermachine\somedir\cvstest but I can't figure out what to enter
> in the form!?
> Using CVS directly I can just set the CVS directory (or use the -d
> switch) and specify \\othermachine\somedir\cvstest and CVS just works.
> It's using the local access method but Eclipse doesn't seem to allow for
> local. The connection type choices in the dropdown list are pserver,
> ext, extssh, and pserverssh2 - no "local".

Exactly, Eclipse does not use the "local access" method. You have to be
running the CVS server process on the host machine, then use pserver (or
one of the other choices) to connect to it.

Hope this helps,
Eric


>
> If I put \\othermachine in as the host and \somedir\cvstest as the
> repository path and my Windows username (e.g. gmw) and password and try
> to connect, I get error:
> Error validation location: "Could not connect to
> :pserver:gmw@\\othermachine:\somedir\cvstest Cannot locate host:
> \\othermachine"
>
> So what does Eclipse want in that form? How can I do what I want? Feel
> free to tell me of some manual or web page to read. ANY help appreciated.
>
Re: Getting started with Eclipse and CVS [message #262539 is a reply to message #262492] Tue, 05 August 2008 11:02 Go to previous message
Eclipse User
Originally posted by: Gail.Walker.belmont.ppdi.com

Eric Rizzo wrote:

> Gail Walker wrote:

> Exactly, Eclipse does not use the "local access" method. You have to be
> running the CVS server process on the host machine, then use pserver (or
> one of the other choices) to connect to it.

> Hope this helps,
> Eric

I eventually found a faq that explicitly said that Eclipse doesn't support
local access, as you said. I had previously downloaded cvs from xmbiot.com
but I haven't yet seen anything on how one would run that as a server.
I'll keep looking. The impression I get elsewhere is that I need to use
cvsnt instead which I'll do if I can't figure how how to use xmbiot's cvs
in server mode.

Thanks.

-- Gail
Previous Topic:Can not launch eclipse on Solaris 10
Next Topic:How to install Struts plugin
Goto Forum:
  


Current Time: Thu Aug 21 08:27:25 EDT 2014

Powered by FUDForum. Page generated in 0.04960 seconds