Using Siebel Tools > Compiling and Testing >

Compiling Projects

You use the Object Compiler to compile all projects or selected projects only. To be able to compile selected projects, you must have compiled all projects at least once.

CAUTION:  Avoid compiling a subset of projects into an SRF file, unless the SRF file was built from a full compilation from the same database.

When you select individual projects to compile, the Object Compiler does not remove inactive top-level objects from the SRF file, but it does remove inactive child objects. For example, if you inactivate the Name list column in the Account List Applet, and then compile the Account SSE project, the Name list column is removed from the SRF file. However, if you inactivate the Account List Applet, and then compile the Account SSE project, the Account List Applet is not be removed.

To compile projects

  1. Choose Tools > Compile Projects.

    The Object Compiler dialog box appears with the list of projects displayed.

  2. Select the projects you want to compile.
  3. In the Siebel Repository File field, click Browse and then select the appropriate SRF file.

    Typically you compile to the SRF file used by the local instance of the Web Client that you are using to test. The path to this SRF file is specified in the application's CFG file.

    CAUTION:  Do not attempt to compile to or modify the default SRF file used by Siebel Tools that is displayed in the Object Compiler dialog box—usually siebel.srf located in SIEBEL_TOOLS_ROOT\OBJECTS. This file is locked, because the Siebel Tools client is currently reading it. If you attempt to compile to this filename and path, you receive an error message.

  4. Click the Auto-start Web Client check box, if you want to automatically start a local instance of the Web Client when the compile process finishes.

    When this option is checked and the Web Client is already open, the client is refreshed with changes and opens with same view that was displayed before the compilation.

    To automatically start the Web Client, you need to have specified the location of the Siebel executable, the application configuration file, and other relevant settings in the Development Tools Options dialog box. For information on how to do this, see Setting Debug Options.

  5. Click Compile.

    The objects in your repository are compiled to the SRF file you specified. The changes are immediately available in any instances of the Web Client that are reading the SRF file. See Testing Changes on Your Local Machine.

Using Siebel Tools