Siebel Tools Reference > Siebel Tools Fundamentals > Compiling and Testing Object Definitions >

Compiling Projects


The Object Compiler allows you to compile all projects or a subset of all object projects. To compile a subset of 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. In particular, you should avoid doing compiling to the generic .srf file included in standard Siebel eBusiness Applications.

When you compile a subset of projects, the Object Compiler will not remove inactive top-level objects from the repository file, but it will 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 will be removed from the repository file. However, if you inactivate the Account List Applet, and then compile the Account SSE project, the Account List Applet will not be removed.

To compile projects

  1. Choose Tools >Compile Projects.

    The Object Compiler appears with the list of projects displayed.

  2. Select the projects you want to compile.
  3. In the Siebel repository file field, select Browse and choose the appropriate .srf file.

    Typically you will 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 window—usually in C:\sea7xx\tools\OBJECTS\siebel.srf. This file is locked because the Siebel Tools program itself reads the .srf file as it runs. If you attempt to compile to this filename and path, you will receive an error message.

  4. Select the Auto-start web client option if you want to automatically start a local instance of the Web client when the compile process finishes.

    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 Up Debug Options.

  5. Click Compile.

    The object definitions 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 Repository Changes.


 Siebel Tools Reference
 Published: 20 October 2003