Previous Next
Initial Checkout of non SNiFF+-Controlled Projects

Since you don't have any SNiFF+ controlled project yet, you need to check out your existing sources using the cvs commandline interface. The usual way of working with CVS in SNiFF+ is to have all files read-only and change them to writable only by executing a cvs edit command. Therefore, you should also check out everything read-only.

    Note
    You can configure CVS to automatically do all check-out operations read-only by editing your $HOME/.cvsrc file or by setting the environment variable CVSREAD to 1.

For optimal SNiFF+ project setup, you should check out your source modules from the command line in a way that allows maximum sharing of submodules: For SNiFF+, it is important that submodules used in different supermodules can always be accessed at the same point in your directory hierarchy; usually, this is accomplished by having the repository directory structure match the structure of the checked-out sources as closely as possible.

    Note
    If you are not using the CVS modules file, you can safely ignore the previous paragraph. It only applies for CVS setups with a sophisticated modules file.

Set up your SNiFF+ project in a workspace as usual. In the Project Attributes, select CVS as the version control tool ( VCS Tool). You can do this most easily by selecting all projects and choosing Project > Attributes of Checkmarked Projects.... When your project descriptions are set up, select all project description files, add them to the CVS repository and do a commit (See Adding and Removing Files).

Previous Next