Setting up CVS
On Windows XP, a manual setup is required because unlike Unix, the standard CVS executable in Netbeans does not support server mode. So you need to first
--> Download a software called CVSNT and Proceed with the typical install.
Once that is done,
--> Start CVSNT Control Panel and then select the Repository Configuration Panel.
--> Click on Add and Specify a path to your repository ( ie a place where all your files will be stored). Make sure that the path you specify does not contain any spaces.
--> Specify a name (eg. "MyName" for the repository) or you could use the default that is generated which is also the name of ur folder.
After that is done, get back to the main tab in the CVS Control Panel and start both the services you see viz the locker and the server ie If they are not already started
Now,
--> Right click on "MyComputer" and select Properties.
--> Select the Advanced Tab and then click on "Environment Variables"
--> Add a new system variable called CVSROOT and give it a value of the path you specified for the repository
--> Add another variable called CVS_EXE and give it the path to your cvs.exe file in your CVSNT installation directory.
Now once that is done Check out the CVSROOT module ie.
--> Open up cmd and type "
cvs co CVSROOT"
--> Type "cd CVSROOT"
--> Type "notepad cvswrappers"
--> Paste the following into the file
*.cab -k 'b'
*.class -k 'b'
*.doc -k 'b'
*.dll -k 'b'
*.exe -k 'b'
*.exp -k 'b'
*.gif -k 'b'
*.gz -k 'b'
*.jar -k 'b'
*.jpg -k 'b'
*.jpeg -k 'b'
*.lib -k 'b'
*.msi -k 'b'
*.mso -k 'b'
*.pfw -k 'b'
*.png -k 'b'
*.ppt -k 'b'
*.sit -k 'b'
*.tar -k 'b'
*.tlb -k 'b'
*.vsd -k 'b'
*.xls -k 'b'
*.wmz -k 'b'
*.zip -k 'b'
--> Save and close notepad and Type "cvs commit" Adding your project into CVS
Fire up Netbeans and go into the Projects Tab on the left. Right click on your project and select CVS-> Import into Repository
Type in " :local:/MyName " without the drive name. eg Do NOT type " :local:/D:/MyName "
Follow the instructions that come...
Here are some of the links that i used to set this tutorial up
http://www.devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm
http://wiki.netbeans.info/wiki/view/FaqHowToAccessLocalCVS
http://www.cvsnt.org/wiki/InstallationTips#head-4d802aee8b175f5581ca832a7ae1d91c3b2c8225
There is a lot of material out there but its not as consolidated as one would want. Anyways happy CVSing
