Wednesday, March 26, 2014

CVS - typical setting

At my current contractor, I'm using a build process which is based on CVS. Included in this blog entry are some of the typical settings and commands that are needed.

CVS_RSH=ssh; export CVS_RSH
CVS_SERVER=/usr/local/bin/cvs; export CVS_SERVER

CVSROOT=:ext:$LOGNAME@t-srcctl.ecb.de:/global/cvsroot; export CVSROOT

In our installation (uname - SunOS pkgzd01 5.10 Generic_147441-24 i86pc i386 i86pc), the cvs executible can be found here:  /opt/sfw/bin/cvs 

//How to commit a change:
cvs commit -m "CRP version 1.2” crp.war

//Tag recursively and move tag to most recent version.
cvs tag -F R1_2 WebApp

//delete tag R1_2 on directory recursively.
cvs tag -d R1_2 package

For Netbeans 7.4, the following two setting had to be added to the enviroment:
CVS_RSH=ssh
CVS_SERVER=/usr/local/bin/cvs