Librarian - CVS

Description

Implementation of IPHXLibrarian which loads files out of GNU's Concurrent Versioning System (CVS). Browsing works by caching a single copy of the latest version from CVS in a local temporary directory. When a user requests to start a component, this class generates a temp directory and checks out the entire directory that contains that component into the temp dir. The temp dir gets deleted when the connection is dropped. In order to have consistent files, it figures out the commit time for the component requested, and then checks out all the files in the directory from that same date.

This class requires passwordless access to cvs and does not currently provide any access control functions (.aserver files do not work).

This class functions by calling to the 'cvs' command line program. You must have this program installed correctly and in your path before running the Analysis Server in order to use this feature.

If you are using 'pserver' type authentication you will need to issue a 'cvs login' command for the user running Analysis Server before running Analysis Server.

Configuration

librarian class: com.phoenix_int.aserver.library.PHXCVSLibrarian

There are 2 options for this class. The CVSROOT which should be set as if you were using the command line tools and the module in CVS which is the base for all the published components. This starting module cannot be blank.

<librarianOptions>
  <CVSROOT>pathfinder:/shared/cvs</CVSROOT>
  <startModule>analyses</startModule>
</librarianOptions>

Known Issues

See Also: