CVS

cvs commands are of the format:

cvs <switches> <command> <module> <options>
sometimes, some of these aspects can be omitted after the initial download of the code. 

Webvibe modules

client    - the client module including the new swing interface

server - the server module including the xml search engine

swishe - the full text indexing agent, unfortunately this isn't the latest version

To get an initial copy of the code to a new location.

cvs -d/home/webvibe/cvsroot checkout <modulename>

To commit changes to cvs

Enter the directory where you checked out the module.  For instance, /home/rasch/src/server/ 

cvs commit -m "Type a reason for this commit and what you changed"

Note: do not commit code that doesn't compile or breaks the functionality of other modules whenever possible.

Note2: Sometimes, this command will inform you that you don't have the latest copy of the source.  This means, that you need to perform a cvs update as described in the next section.

To update your copy of the module and get the latest version

Enter the directory where you checked out the module.  For instance, /home/rasch/src/server/ 

cvs update -PAd

This will update your code.  If you have changed any files which have also been modified on the server, the changes will be merged.   Otherwise the files will simply be downloaded again.  Sometimes, merge conflicts occur.  This is when cvs cannot figure out who's changes should be included in the code.  You will need to enter the source file and find the sections cvs has outlined with >>>>>>> and <<<<<<< marks and merge the two changes manually.

Authored by: David Rasch 06/04/2001