[prog] cvs and Eclipse

Dom Incollingo dom_incollingo at linuxmail.org
Sat Mar 27 02:47:32 EST 2004


Hello,

Has anyone successfully used cvs with an external tool such as Eclipse (a Java IDE)?  If so, could you give me some advice?

I'm running Eclipse on Linux, and am trying to map Eclipse to a cvs repository.  CVS is installed on the same computer where Eclipse resides, and I have created  a cvs repository called 'pets' on the same computer.  (Path to repository is /var/lib/cvsroot/pets. Ownership of cvsroot is cvs:habs, and ownership of repository 'pets' is dom:habs)  When I try to map Eclipse to the cvs repository, I enter the Host as 'localhost', the Repository Path as '/var/lib/cvsroot/pets', the User as 'dom', the password for user 'dom', and the Connection Type as 'pserver'.  (User 'dom' is a member of group 'habs'.)  Eclipse comes back with an error message that says "Cannot connect to host."

I googled a bit, but could not find a solution to this problem.  An old post (on another newsgroup) suggested that the cvs server must be running.  Must the cvs server be 'started', as other servers (mySQL, for example) are started?  If so, how do you start the cvs server?

I tried changing the Connection Type from 'pserver' to 'ext and 'extssh', but this yielded different error messages in Eclipse.  I also verified that the cvs repository was good by checking out files using cvs commands from the shell.  This worked fine.

Does anyone know what I am doing wrong when I try to connect to cvs from Eclipse?

Thanks very much for your help.

Dom




More information about the Programming mailing list