aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Connecting to CVS remotely.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Connecting to CVS remotely...." Watch "Connecting to CVS remotely...." New topic
Author

Connecting to CVS remotely....

Thillai Sakthi
Ranch Hand

Joined: Jun 17, 2000
Posts: 102
Hi All:
My company is planning for another development center. Some developers have moved in to a new location, working on the projects running in the old location. They need to connect to the cvs server which is located in the old place...
how do i now connect to the cvs server remotely? by using a web client?
any input please?...

rgds
shakthi


Regards,
Shakthi
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Typically you will connect to the remote repository via ssh; see https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_2.html#SEC26


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Thillai Sakthi
Ranch Hand

Joined: Jun 17, 2000
Posts: 102
Originally posted by Ilja Preuss:
Typically you will connect to the remote repository via ssh; see https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_2.html#SEC26


But my server and the client are NT machines. Would ssh works in this case?
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
No, CVS doesn't work (at least not well) on NT as servers. You can run CVS client, but not server (without third party tool).
Why not try subversion? It's abit more complicated to learn, but it's definitely a good choice for you to run NT based server.
Dirk Schnelle
Greenhorn

Joined: Jul 07, 2004
Posts: 21
CVS works on NT. Have a look at http://www.cvsnt.org/wiki/

/dirk
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

Another alternative is to use Cygwin. Certainly makes developing on Windows easier to bear.


[Jess in Action][AskingGoodQuestions]
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Just out of curiosity, has anyone use cvsnt as their source control tool? I never liked it when it first came out, lots of bugs. I used CVS for the longest time before I made the switch to subversion about 4 months ago.
Maybe things have changed on cvsnt side, as far as I remembered, in order to run sshd on windows, you need to install cygwin.
I like subversion because you can run https on subversion with apache, setup is easy. Runs both window and nix without any third party tools. If security isn't a big concern of yours, you can run svn server by itself as a network server.
I think the biggest factor for you Thillai Sakthi is what you are looking for in your development environment. From your post, it seems that you are running cvs already. How are you running it now? Do you run them on your local pcs?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
I've used cvsnt at home, using the pserver protocol. Didn't have any problems. It's not secure, on the other hand.
Thillai Sakthi
Ranch Hand

Joined: Jun 17, 2000
Posts: 102
Originally posted by Adrian Yan:

I think the biggest factor for you Thillai Sakthi is what you are looking for in your development environment. From your post, it seems that you are running cvs already. How are you running it now? Do you run them on your local pcs?

Yes...I am looking it for the devt environment. We are already using CVS for all the projects running here. We have installed the cvs server on one machine and from individual developer pcs, access it thru wincvs client.
Now that one more devt center is coming up which is geographically distant, I want to make this server to be accessed from the new location too so that its all seamless.
Its too late to switch to subversion at this point....
any suggestions?
Murad Iqbal
Ranch Hand

Joined: Dec 09, 2003
Posts: 90
I have been using cvs server in my previous projects and it has been a great tool. We have windows environment currently, therefore I installed cvsnt (server) on the windows xp. Unfortunately it is proving to be worst. I assume there may be some file name issues as windows doesnt differentiate the case sensitive file names. However, I am now looking to install linux on the other machine and make it a cvs server. using cvsnt on windows, two different users cannot commit in the project.

I havent done cvs installation on linux before. I have visited cvshome website. I didnt get a quick step by step installation guide. While they do have the installation guide, but those files are quite big and require more time. Anybody aware of a short installation of cvs server on linux? I am not a linux expert as well....
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
CVS comes by default on most linux systems. If you are running debian, apt-get install debian. Redhat, etc, rpm should work fine.
the documentation on cvshome.org basically teaches you how to use CVS. If you have any specific questions, you can post them here.
Murad Iqbal
Ranch Hand

Joined: Dec 09, 2003
Posts: 90
Yes you are correct, the cvs command does work on the linux shell. But how to setup a cvs project on the cvs server? the cvs clients will be synchronizing, committing, udpating from this cvs project/repository. How to specify the port it is supposed to listen to (default is 2401, i dont have any issues with that) etc. How do i know cvs is active and listening to that port and is serving that project? I know a passwd file should be located under that project, but how to do all this setup, I am not sure.
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
CVS is not an server application, it doesn't do what you normally expect as in other server packages. You don't need to start it or anything like that.
Do you know what SSH is? SSH by far is the easiest way to do it, since it uses O/S itself to do authentication.
And if you want, I recommend you to use Subversion, it's a much better designed system than CVS and provide much more functionalities than CVS.
Murad Iqbal
Ranch Hand

Joined: Dec 09, 2003
Posts: 90
Does subversion client has eclipse integration? or with any other IDE?
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Indeed it does, you can get it at: Subclipse.
If you use window, I highly recommend tortoise SVN, it's incredible useful. I usually don't praise about tools, but it increases my productivity alot.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Adrian Yan:
Indeed it does, you can get it at: Subclipse.


It doesn't look as complete as CVS integration, though. For example, the Synchronize view doesn't seem to work with svn.

If you use window, I highly recommend tortoise SVN, it's incredible useful.


Yes! Tortoise CVS is nice, too...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connecting to CVS remotely....