Previous Next
Step 3: Create and set up team working environments

  1. Launch SNiFF+.
  2. In SNiFF+'s Launch Pad, choose Tools > Working Environments.
  3. The main view of the Working Environments tool appears.

    Click for full size, then use Back button

  4. In the Working Environments tool, choose Utils... > User Permissions....
    The Users dialog appears.

    Click for full size, then use Back button

  5. Check whether your username appears in the Users List. If it doesn't, add it to the list by pressing the Add command. In the New User dialog that appears, enter your username and press Ok.
    Your
    username should appear highlighted in Users List.

        Note
        On Unix and Windows NT/95, username refers to the name that you use to log onto your machine. SNiFF+ needs it for handling permissions correctly.

  6. Under Permissions, select all check boxes to give yourself permission to create all four kinds of working environments.
  7. Now, add the username of your team members in the New User dialog.
  8. For each team member, select the Can Create PWE check box to give the team member permission to create his/her own PWE.
  9. Press OK to return to the main view of the Working Environments tool.
Create and set up the RWE
  1. In the WorkingEnvs Tree, select the asterisk (*).
  2. Choose Edit > New Repository.
    The Working Environment - New Repository dialog appears.

    Click for full size, then use Back button

  3. In the Working Environment field, enter a name for the RWE.
  4. Enter the root directory of your Repository in the Root field. If you want to use the Directory dialog to select the root directory, press the Directory... button.
  5. Press OK to return to the main view of the Working Environments tool.
    You have just finished defining your team's RWE.
Create and set up the SSWE
  1. In the WorkingEnvs Tree, select the RWE you just defined.
  2. Choose Edit > New Shared Source based on Repository.
    The Working Environment - New Shared Source based on Repository dialog appears.
  3. In the Working Environment field, enter a name for the SSWE.
  4. Enter the root directory of the SSWE in the Root field. If you want to use the Directory dialog to select the root directory, press the Directory... button.
  5. Press OK to return to the main view of the Working Environments tool.
Create and set up the SOWE
For single-platform development, complete the following steps once. For multi-platform development, complete the following steps for each target platform.
  1. In the WorkingEnvs Tree, select the SSWE you just defined.
  2. Choose the Edit > New Shared Object based on SSWE.
    The Working Environment - New Shared Object based on SSWE dialog appears.
  3. In the Working Environment field, enter a name for the SOWE.
  4. Enter the root directory of the SOWE in the Root field. If you want to use the Directory dialog to select the root directory, press the Directory... button.
  5. If you have multi-platform shared projects, you will need subdirectories under the SOWE root directory for each target platform. To create platform specific subdirectories (if necessary), enter $PLATFORM at the end of the SOWE root directory in the Root field.
    On Unix
    The
    PLATFORM environment variable is set automatically each time you start SNiFF+.
    On Windows
    The
    PLATFORM environment variable is not set automatically. You must set the PLATFORM environment variable manually before using it. To do so, please refer to the Windows online help.
    This will enable SNiFF+'s working environment update mechanism to find the appropriate subdirectory of the SOWE root directory for each target platform.
  6. Press OK to return to the main view of the Working Environments tool.
Create and set up PWEs
When a new team member joins your development team, a Private Working Environment must be created and set up for him/her. Although each member may complete the following steps, we recommend that the Working Environments Administrator do so. In more complicated development environments, only the Working Environments Administrator will know enough about a team's projects to decide where a new PWE fits into the overall scheme of things.
  1. In the WorkingEnvs Tree, select the SOWE defined in the previous section.
  2. Choose Edit > New Private based on SOWE.
    The Working Environment - New Private based on SOWE dialog appears.
  3. In the Working Environment field, enter a name for the PWE.
  4. Enter the root directory of the PWE in the Root field. If you want to use the Directory dialog to select the root directory, press the Directory... button.
  5. Press OK to return to the main view of the Working Environments tool.
  6. Save your working environments information by choosing File > Save.