Jindent - Java Source Code Formatter http://www.jindent.com
 



title

7.7 CVS (Concurrent Version System)


Introduction to CVS


CVS is the Concurrent Version System, the dominant open-source network-transparent version control system. CVS is useful for everyone from individual developers to large, distributed teams.

CVS helps to manage releases and to control the concurrent editing of source files among multiple authors. You will be able to format all committed source files before they are finally stored to the CVS repository. With this integration the source codes in your CVS (or for a special project) can use a predefined coding style.

CVS is free and can be downloaded at: http://www.cvshome.org/



Manual installation of Jindent's CVS plugin


In the Jindent installation directory you will find a /plugins/cvs/ subdirectory. Change into this directory and you will find the CVSJindent file which you need for the CVS plugin installation.

For this plugin you have to change some files in the $CVSROOT/CVSROOT directory. This Directory contains administrative files for the CVS. You can check them out like a normal project with :
& cvs co CVSROOT

It is possible that some files described in the following text are not present in this folder. Then you can simply create them, but do not forget to add them to the repository.

The following files need to be changed/added in/to the $CVSROOT/CVSROOT:
commitinfo
checkoutlist
cvswrappers

CVSJindent

After you changed these files you have to commit them and then all files committed to the specified project will be passed through Jindent.
Jindent will format all known source code files, all other file types will be ignored.