In this section, we give step-by-step instructions how to set up a CVS repository with SNiFF+. Although these steps can be completed by any user, we strongly suggest that you appoint a CVS administrator for larger projects. Only the administrator should be allowed to change CVS configuration files or import new modules. Refer to the CVS Manual [4] for details on how to enforce access and security policies.
Most of the steps listed below will not need to be completed if you are If you already work with CVS outside of SNiFF+. Yet you should quickly read through this passage since it contains information on how to make SNiFF+ fit for using CVS efficiently.
Defining the Repository
Before starting SNiFF+, set the environment variable CVSROOT to the directory, which will become the repository root:
On Unix
![]() |
Note
| Windows UNC pathnames (like
\\host\path
) are not supported with the current version. However, CVS Remote repositories can also be used with the CVS adapter. Please refer to Advanced topics for details.
| |
Note that the SNiFF+ CVS Adapter does not depend on
CVSROOT being set, because it takes the information from the RWE; however, it is recommended to set CVSROOT in order to be able to work with CVS from outside SNiFF+ as well .
If you are setting up a new repository which doesn't have any files in it yet, you should now initialize it by executing the command
![]() |
Note
| We assume that your CVS software is already installed and configured. In most cases it should suffice to set put the CVS executable in your path and set the
CVSROOT
environment variable. Please refer to the CVS Manual for detailed information on how to set up CVS.
| |
You should now check if access to your repository works by entering the command
Below the CVS SSWE, create SOWEs and PWEs as usual. Your working environments
should now look more or less like this: