Initializing your team's Repository
To initialize your team's Repository, you check in your team's source files for the first time from the SSWE. As a result of this initial check-in, your team's Repository will have the same directory structure as the SSWE. For each project directory, SNiFF+ creates a subdirectory named after your underlying version control tool (e.g.
RCS
). Version control information for the files in the project are then stored in this directory.
Checking in project files for the first time is the first step in version-controlling your SNiFF+ projects. We recommend that you version control at least the following types of files:
- Project Description Files (PDFs)
- source and source code documentation files
- Makefiles (only if you don't use SNiFF+'s Make Support)
Initializing your team's Repository -- procedures
Open the root project in your team's SSWE. Then, complete the remaining steps in the
Project Editor.
(To open the root project, please refer to Opening the root project in a working
environment.)
In the Project Tree, checkmark all projects by right-clicking anywhere in the Project Tree,
and then choosing Context menu > Select From All Projects.
Press the Filters... button.
The Filters dialog appears. You will now filter out SNiFF+'s Makefiles from the Project
Editor's File List.
In the FileTypes tab, clear the Make check box and press Ok.
SNiFF+'s Makefiles are generated and maintained by SNiFF+, so there's no reason to
version control them.
Choose File > Select All.
Choose File > Check In....
An alert dialog appears informing you that SNiFF+ could not find a Repository directory
for the Project in the Repository Working Environment (RWE). This dialog will reappear
for each new Repository directory, unless you enable Repeat.
Enable Repeat and press Yes to create the necessary Repository directories for the
project.
The Check In dialog appears.
In this dialog, press the Ok button to check in an initial version of the shared project.
SNiFF+ will now create the SSWE's directory structure in the RWE. Your team's files will
be checked in to your Repository during the process. This may take some time,
depending on the number of files you're checking in. After the check-in process is over, all
files shown in your Project Editor's File List will be read-only.
Close the shared project in the SSWE.