*
The moose likes IDEs, Version Control and other tools and the fly likes CVS With Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "CVS With Eclipse" Watch "CVS With Eclipse" New topic
Author

CVS With Eclipse

essam abdelaziz
Greenhorn

Joined: Jul 03, 2006
Posts: 12
Dears ALL
i'm Aew TO CVS(Concurrent Version Control)
i try To Configure CVS In Eclipse bUt I can't ,Under IS What I did

1-Under CVS Reprositories Perview
Richt Click-->New Reprositry Location
I got anew Window Request

Host:
Reprository Path:
User Name:
PassWord:
Connection Type:

i don't know wjhat should i write in host
in reprository path I wrote: \\myserver Name\myFolder

in coonection Type i choosed extssh

i know i did an mistake here
what is teh correct configuration

thank you
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Not an advanced question. Moving...


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

Essam,
Where is the CVS server. If it is on your machine, you type "localhost" as the host. If it is elsewhere, you put the machine name or IP address as the host.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

Now that's some unique typing. Even allowing for being a programmer. I'd guess that either the keys on that keyboard aren't labelled with the Latin alphabet or that it was entered via an SMS thumbpad.

But, cultural critiques aside, the problem is that you don't access CVS archives via UNC (sometimes known as Windows Share Names). CVS isn't served up by a file server, it's served up by a CVS server. So the machine that contains the CVS repository must have a CVS server process running.

A typical CVS server ID sequence might look something like this:

:extssh:user123@cvsserver.mydomain.com:/usr/local/CVS

That specifies the protocol (extssh), user ID on the CVS server (user123), the server itself (cvsserver.mydomain.com) and finally, the location of the CVS archive as an absolute pathname within the CVS server's filesystem. I've used a Unix pathname for my example, since I've never actually seen a CVS server running on Windows.

The Eclipse CVS setup lets you break that ID into its components (the parts separated by ":") and enter them as individual items in its setup dialog. And to test the definition by actually querying the server.


Customer surveys are for companies who didn't pay proper attention to begin with.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18658
    
    8

Originally posted by Tim Holloway:
I've used a Unix pathname for my example, since I've never actually seen a CVS server running on Windows.
I have. And it allows you to provide an external name for your repository's path, so you can make it look like a Unix path.

It looks like Essam should be talking to the person who installed the CVS server, especially to get the "user name" and "password" information. Those are not necessarily the same as the Windows user name and password used to sign on to the network.
 
wood burning stoves
 
subject: CVS With Eclipse