What is CVSNT and how do I install it?
Author: Deron Eriksson
Description: This tutorial demonstrates how to install CVSNT on Windows.
Tutorial created using:
Windows XP || JDK 1.5.0_09 || Eclipse Web Tools Platform 2.0 (Eclipse 3.3.0)
If you're doing serious software development, most likely you will use some kind of version control software. Even if you're just working on school projects, version control can be a great tool. Typically, if you have a version control server, you and other developers can check projects and files into the server. If you ever make a mistake in the file you're working on, you can always restore a previous version from the server. In addition, you can do things like manage changes in files if more than one developer works on the same file at the same time. CVSW (Concurrent Versions System) is a version control server for primarily UNIX. CVSNTW is a version of CVS for Windows. If you're interested in version control, you might also want to consider SubversionW. CVSNT can be downloaded for free from http://www.march-hare.com/cvspro/. At the time of this writing, I downloaded cvsnt-2.5.03.2382.msi. Installation is straightforward. Read the GNU General Public License and accept if you agree to the license agreement. I selected 'Custom' so that I could specify the CVSNT installation location. I set the installation location to be C:\CVSNT\. I accepted the other defaults. Click Install to install. Installation requires a restart, so I closed all applications and restarted. CVSNT is now installed as a service. To access the CVSNT Control Panel, I went to Start Menu → All Programs → CVSNT → CVSNT Control Panel and selected it. The CVSNT Control Panel is shown below. I went to the Repository configuration tab and clicked Add to add a new repository. I specified the location as 'C:\cvsrepo', the name as '/cvsrepo', and the description as 'cvsrepo'. I clicked OK. I clicked Yes to initialize the new CVS repository. The new repository can be seen below. On the Server Settings tab, I specified that the server would run as me. I have Administrator rights on my XP box. I also changed the Temporary Directory to be C:\temp. If you have troubles with CVSNT, you might want to play with these settings. I checked the "Respond as cvsW 1.11.2 to version request" and "Emulate '-n checkout' bug" checkboxes. This may or may not be necessary depending on your client software. I stopped and started the CVSNT Service and CVSNT Lock Service on the About tab of the CVSNT Control Panel. (Continued on page 2) |