Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to set up "local" CVS?
How to set up "local" CVS? [message #157356] Wed, 05 May 2004 16:57 Go to next message
Eclipse UserFriend
Originally posted by: malcolm.chaires.asrc.com

I'm using Eclipse 3.0 M8 on Windows XP Pro and I'm trying to configure CVS.

I inherited my CVS installation and as far as I can tell, it's an
open-source command-line utility, probably from GNU. It's name is
cvs-1.11.5.exe. I can open a command prompt window, key the
fully-qualified name of this .exe followed by a valid CVS command and I'm
off to the races. My repository is on a network drive. I don't have any
CVS environment variables set nor do I have to supply any user
authtication or login info. There are other developers successfully using
this program from NetBeans.

My question is how do I configure Eclipse to use this program?
Specifically, when I go to define a new Respository Location, what
Connection Type should I use and what values should I key for User and
Password (the OK button is disabled without User and Password)? NetBeans
offers all the same connection types as Eclipse does, except for "local"
which Eclipse does not have.

I've tried any number of different combinations of values in the Add CVS
Repository dialog and the Ext Connection Method dialog (under Windows |
Preferences | CVS) but as yet I haven't hit on the correct one. What I get
is a progress dialog that eventually times out with a connection error
after about a minute.

I've done some reading and every CVS installation that I've come across
seems to implement a client/server model that uses some kind of user
authenticaion protocol (rsh, ssh, pserver). What kind of non-standard
one-off do I have here?

Any ideas? Thanks in advance to all who reply ...

Malcolm Chaires
Re: How to set up "local" CVS? [message #157377 is a reply to message #157356] Wed, 05 May 2004 19:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

See http://www.tivocanada.com/short/121.php

What commands do you really use?

--
Sam Mesh - http://openrules.com
Re: How to set up "local" CVS? [message #157439 is a reply to message #157356] Thu, 06 May 2004 08:34 Go to previous messageGo to next message
Anonymous Coward is currently offline Anonymous CowardFriend
Messages: 4
Registered: January 1970
Junior Member
Malcolm Chaires wrote:
> I'm using Eclipse 3.0 M8 on Windows XP Pro and I'm trying to configure CVS.
<snip>
> Any ideas? Thanks in advance to all who reply ...

Hi Malcolm,

As far as I know (and found when I looked after an answer for the same
question), there's no support for this configuration in Eclipse.
You definitly need a "real" CVS server, i.e. a machine running the CVS
service/daemon, which you authenticate against.
As you're accessing your repository on a network share, you already have a
machine available/dedicated, and should install the cvs service on it (see
www.cvsnt.org for instructions if under windows, and a Unix flavor your
admin surely know how to do this).

Btw, and IMHO, it's not a good idea to work with cvs (or any code
repository) thought a network (read "netbios") share: I got several
problems when I tried to use a network share for my workspace: "make" not
making anything as if the files had not been changed, which may be an hint
that file timestamping is not really working properly when files are
accessed through a smb share. I don't know how well it works with CVS,
though.

Steph.
Re: How to set up "local" CVS? [message #157461 is a reply to message #157356] Thu, 06 May 2004 11:01 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6690
Registered: July 2009
Senior Member
malcolm,

i found this one to be quite useful:

http://w1.858.telia.com/~u85831169/InstallCVSNT.html

/eike


"Malcolm Chaires" <malcolm.chaires@asrc.com> schrieb im Newsbeitrag news:c7b6cs$l5h$1@eclipse.org...
> I'm using Eclipse 3.0 M8 on Windows XP Pro and I'm trying to configure CVS.
>
> I inherited my CVS installation and as far as I can tell, it's an
> open-source command-line utility, probably from GNU. It's name is
> cvs-1.11.5.exe. I can open a command prompt window, key the
> fully-qualified name of this .exe followed by a valid CVS command and I'm
> off to the races. My repository is on a network drive. I don't have any
> CVS environment variables set nor do I have to supply any user
> authtication or login info. There are other developers successfully using
> this program from NetBeans.
>
> My question is how do I configure Eclipse to use this program?
> Specifically, when I go to define a new Respository Location, what
> Connection Type should I use and what values should I key for User and
> Password (the OK button is disabled without User and Password)? NetBeans
> offers all the same connection types as Eclipse does, except for "local"
> which Eclipse does not have.
>
> I've tried any number of different combinations of values in the Add CVS
> Repository dialog and the Ext Connection Method dialog (under Windows |
> Preferences | CVS) but as yet I haven't hit on the correct one. What I get
> is a progress dialog that eventually times out with a connection error
> after about a minute.
>
> I've done some reading and every CVS installation that I've come across
> seems to implement a client/server model that uses some kind of user
> authenticaion protocol (rsh, ssh, pserver). What kind of non-standard
> one-off do I have here?
>
> Any ideas? Thanks in advance to all who reply ...
>
> Malcolm Chaires
>


[RFE] Re: How to set up "local" CVS? [message #157477 is a reply to message #157356] Thu, 06 May 2004 12:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skoehler-remove-for-no-spam.upb.de

> Any ideas? Thanks in advance to all who reply ...

Nomatter which CVS-version you use (CVSNT, or cvs under cygwin/linux),
Eclipse doesn't support local CVS repositories. Eclipse only supports
CVS repositories reachable via pserver or ssh1/ssh2. Best thing you can
do is setting up a pserver on your machine and than access it via localhost.

BTW: where's the differece between executing "cvs server" via SSH and
executing it on the current machine? i think there is none. So if i got
cvs installed, should it be easy for ecplise to access repositories in
the local filesystem by just executing "cvs server".

Would be great to have that.

Thx
Sven
Re: [RFE] Re: How to set up "local" CVS? [message #157572 is a reply to message #157477] Thu, 06 May 2004 17:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nobody.127.0.0.1

Sven Köhler wrote:
> BTW: where's the differece between executing "cvs server" via SSH and
> executing it on the current machine? i think there is none. So if i got
> cvs installed, should it be easy for ecplise to access repositories in
> the local filesystem by just executing "cvs server".
>
> Would be great to have that.

If I remember correctly, at one time some clever person wrote batch
files that made the appropriate CVS calls using the local connection
method, and installed them using the ext connection method in Eclipse.
You might want to look into that...

Andrew Jr.

============================================================ ==========
IBM Phoenix Labs (OTI)
11811 North Tatum Boulevard, Suite 2400
Phoenix, Arizona, USA 85028-1614
Re: [RFE] Re: How to set up "local" CVS? [message #157688 is a reply to message #157572] Fri, 07 May 2004 07:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skoehler-remove-for-no-spam.upb.de

> If I remember correctly, at one time some clever person wrote batch
> files that made the appropriate CVS calls using the local connection
> method, and installed them using the ext connection method in Eclipse.
> You might want to look into that...

That's the best way since Eclipse doesn't support it directly.
Is there any chance that this kind of support for local repositories
will make it into eclipse 3.0?
Re: [RFE] Re: How to set up "local" CVS? [message #157771 is a reply to message #157688] Fri, 07 May 2004 15:28 Go to previous message
Eclipse UserFriend
Originally posted by: manahan.NOSPAM.ca.ibm.com

Probably never.

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-vcm-home/docs/online/cvs_features2.0/cvs-faq.html#serve r_9

this also may have something to do with it
http://www.devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm

-----------
Which protocol should I use?

CVS and WinCVS can access raw repository files via the local
protocol which is extremely dangerous and will result in corrupt files
and dangling file locks. Only the non-local protocols use the Windows
system service. Clients should never use the local protocol.

------------
Peter

Sven Köhler wrote:

>> If I remember correctly, at one time some clever person wrote batch
>> files that made the appropriate CVS calls using the local connection
>> method, and installed them using the ext connection method in Eclipse.
>> You might want to look into that...
>
>
> That's the best way since Eclipse doesn't support it directly.
> Is there any chance that this kind of support for local repositories
> will make it into eclipse 3.0?
>
Previous Topic:Extending JavaProject?
Next Topic:Losing JRE config in M8
Goto Forum:
  


Current Time: Fri Sep 27 11:04:35 GMT 2024

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

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

Back to the top