Previous Next
Updating within SNiFF+

In this section, you will learn how to update your working environments. Working environments are to be updated in the following order:

Your Working Environment Administrator should be responsible for updating the shared working environments. PWEs may either be updated by the Working Environment Administrator, or by their respective owners.
Please complete the steps outlined in this section in a SNiFF+ session.
Updating your team's SSWE
  • Open the workspace project of the SSWE. If there is no workspace project for the working environment, create one. See also Workspace projects

In the Project Editor
  1. Checkmark all the projects in the Project Tree.
  2. Choose Project > Synchronize Checkmarked Projects....
    All files in the working environment are synchronized to the newest version.
  3. Choose Target > Update Makefiles....
    Make support files are regenerated for all projects in the working environment.
  4. To update configuration management information (optional), choose
    Tools > Configuration Manager.
    Configuration management information for all modified projects in the PWE is updated and stored on disk. For unmodified projects, shared information is used.
  5. Close the Configuration Manager. To update cross-reference information (optional), open any tool where you can see symbols. Now choose Info > Referred-By.
    Cross referencing tables for all modified projects in the PWE are updated and stored on disk. For unmodified projects, shared information is used.
Updating your team's SOWE
Please complete the following steps for each target platform for which you want to update the SOWE.
In a Shell or Command Prompt
  1. Change to the SOWE root directory and execute the following command on the command line:
    gmake -i sniffclean
    All symbol table, cross-reference files etc. are deleted in the working environment.
In the Launch Pad or Working Environments tool
  • Open the root project of the SOWE. We suggest that you open the project without symbols since this is faster.

  • If there is no root project for the working environment, create one. See also Workspace projects
In the Project Editor
  1. Checkmark all the projects in the Project Tree.
  2. Choose Project > Synchronize Checkmarked Projects....
    All files in the working environment are synchronized to the newest version.
  3. In the Project Editor, choose Target > Update Makefiles....
  4. In the Update Makefiles dialog that appears, clear the Generate Dependencies File check box and press Yes.
    Make support files are regenerated for all projects in the working environment.
In a Shell or Command Prompt
In the SOWE root directory, execute the following commands on the command line:
  • gmake -i symbolic_link_to_dependencies_file

  • Creates symbolic links to the dependencies file in the Shared Source Working Environment.
  • gmake -i CHECK_UPDATE=0

  • Make is started for each project in the SOWE. The targets of the project are built recursively.
Updating your team's PWEs
Complete the following steps to update a PWE:
In a Shell or Command Prompt
In the Project Editor
  1. Checkmark all the projects in the Project Tree.
  2. Choose Project > Synchronize Checkmarked Projects....
    All files in the working environment are synchronized to the newest version.
  3. In the Project Editor, choose Target > Update Makefiles....
    Make support files are regenerated for all projects in the working environment.
  4. To update configuration management information (optional), choose
    Tools > Configuration Manager.
    Configuration management information for all modified projects in the PWE is updated and stored on disk. For unmodified projects, shared information is used.
  5. Close the Configuration Manager. To update cross-reference information (optional), open any tool where you can see symbols. Now choose Info > Referred-By.
    Cross referencing tables for all modified projects in the PWE are updated and stored on disk. For unmodified projects, shared information is used.
In a Shell or Command Prompt
  1. In the PWE root directory, execute the following command on the command line:
    gmake -i symbolic_links
    Symbolic links are created to object files in the SOWE and Makefiles in the SSWE. On Windows NT/95, local copies are made instead.
  2. Execute the following command on the command line:
    gmake -i CHECK_UPDATE=0
    Make is started for each project in the PWE. The targets of the project are built recursively.