This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Have anyone worked here with CVS? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Have anyone worked here with CVS?" Watch "Have anyone worked here with CVS?" New topic
Author

Have anyone worked here with CVS?

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

Hi ranchers,
Just got downloaded CVS from my boss. I got a pdf file explaining CVS. B4 i install CVS server & clients in my network, i wanna know some instructions abt hwo is its performance & any related information u know. I have heard that its better than SourceSafe and Forte has built-in support of CVS.....i'll chekc them today as we use Forte my firm.


Ashik Uzzaman
Senior Member of Technical Staff, Salesforce.com, San Francisco, CA, USA.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16092
    
  21

One major difference between CVS and SourceSafe or PVCS is that it doesn't work on the concept of "locking" a file for a single developer to use, but rather cross-checks for conflicts when multiple changers try and check their changes in.
I don't know if this is superior in a business environment, but it is very useful in the open-source world, where multiple changers are working on multiple continents and may suddenly drop out of the process for various reasons. That way files aren't locked by someone who cannot be contacted to unlock them.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

Thnx Tim for the response. I was reading a pdf format document and could not find out ----
(1) Why the name is CVS? Any illaboration --- no. Ayn history for this particular name?
(2) How to install CVS server & CVS client. Possibly i have to find out some more documents on it. Can anyone refer to?....
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16092
    
  21

CVS is short for Concurrent Versions Systems (concurrent meaning multiple developers working on the same code base in this case).
I went out and bought a book called "Open Source development with CVS" by Karl Fogel (CoriolisOpen Press). It's a hard copy of the docs that come with CVS - with some enhancements, I think.
These days the "home" site for CVS has moved from its old cyclic.org address to the more meaningful URL of http://www.cvshome.org/ and there's "docs" option on its menubar.
On RedHat Linux, CVS and its friend RCS (the Revision Control System) are RPMs that get installed automatically unless you're selecting a non-programming setup option (or select packages manually and leave it out). The trickier part is figuring out how you want to access it - via LAN connection, TCP/IP, or one of the other possible ways that I forget. You might want to check Forte's CVS connection options to see what it feels comforable with.
It's not a bad idea to setup a "trial" server to get familiar with things so you can throw away the whole thing once you know how things work and start with a clean copy. Fortunately, CVS isn't full of tricky internal connections that a heavy-handed administrator can break and make the whole system collapse like some systems are.
Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

Thnx Tim,
I was just reading other documentaion after installing CVS server in my win2k server that's under a 20 PC network. I 'll use my machine as CVS server and added 2 repository in my two different drives. Then i have installed jCVS client right now, not checked any command yet. I have to leave my office now, but wanna inform u that i am whether i should use jSVC or WinCVS as client.... i have both. Can you suggest one or their advantages, disadvantages?....
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
There's a wonderful book on CVS that I use quite often. It's called "Open Source Development with CVS" by Karl Fogel. You might want to check it out.
Kyle
[ February 13, 2002: Message edited by: Kyle Brown ]

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

Thnx Kyle. But buying this book is out of my reach now... ...rather lets have a review now with you on where i am to proceed with CVS. You know i am a newbie on it...
I installed CVS for NT in my Windows 2000 server connceted in a 15/20 pc network. Added 3 repository. I started it up. Then i chose jcvs instead of wincvs because wincvs requires Python that i wanted to skip.
Now the time is to set environmental variables. I set CVSROOT to my d:\Ashik\Karpov_CVS in ntserver mode. Then i am facing problem to connect from my jcvs client in another machine to my server (as ntserver mode no username-password required as i think). Can anyone help me how should I use jcvs client s/w? So i went to command prompt in Karpov_CVS directory and tried to use import command like ---
cvs import -m "Imported Sources" yoyodyne/rdir yoyo start
The result was that it copied many directories and folders from my repository that i specified in yoyodyne/rdir directory.
As i am experimenting it only in leisures today i don have any more time. Tomorrow i'll try to use checkout command and connect from remote PCs (so far i was working in my own PC).
I wouls be glad if you want to add anything or something here....
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
If you are new to cvs, here is a tutorial from IBM dW for you.


Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep
Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

Thnx for the link Wang...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Have anyone worked here with CVS?