Using Siebel Tools > Compiling, Testing, and Troubleshooting Your Customizations > Compiling Your Modifications >

Compiling Projects


You use the Object Compiler to compile projects.

To compile projects

  1. Make sure Siebel Tools is connected to a database that has the sort order set to binary.
  2. Choose the Tools menu, and then click Compile Projects.
  3. In the Object Compiler dialog box, choose the projects that Siebel Tools must compile.

    If you compile only one or a subset of projects, then some restrictions apply. For more information, see Compiling Individual Projects.

  4. In the Siebel Repository File window, click Browse, and then choose a repository.

    For more information, see Identifying the Repository You Must Compile.

  5. (Optional) To automatically start a local instance of the Siebel Web Client when the compile finishes, do the following:
    1. Make sure the Auto-start Web Client check box includes a check mark.
    2. Specify the location of the Siebel executable, the application configuration file, and other relevant settings in the Development Tools Options dialog box. For more information, see Setting Debug Options to Open the Siebel Client.

      If you enable Auto-start Web Client, and if the Siebel Web Client is already open, then this client restarts and displays the same view it displayed before the compile. It does this when the compile finishes.

  6. Click Compile.

    Siebel Tools compiles the projects you choose in Step 3 to the repository that you specify in Step 4. Siebel CRM makes any modifications that you make immediately available in any instances of the Siebel Web Client that read this repository. For more information, see Testing and Troubleshooting Your Modifications.

Compiling Individual Projects

To compile individual projects, you must first compile all projects at least one time.

CAUTION:  It is recommended that you compile a subset of projects only to a predefined repository or to a repository that you create from a full compile. This configuration makes sure that the repository you compile includes all objects that Siebel CRM requires. For more information, see About Predefined Objects.

If you compile a single project, then the Object Compiler does not remove inactive top-level objects from the repository. It does remove inactive child objects. For example:

  • If you deactivate the Name list column in the Account List Applet, and then compile the Account SSE project, then the compiler removes the Name list column from the repository.
  • If you deactivate the Account List Applet, and then compile the Account SSE project, then the compiler does not remove the Account List Applet.

For information about top-level object types, see Displaying Object Types in the Object Explorer.

Identifying the Repository You Must Compile

You typically compile to the repository that the local instance of the Siebel client reads. The RepositoryFile parameter in the application configuration file identifies this repository.

Do not compile or modify the default repository that Siebel Tools uses. If you click Browse in the Object Compile dialog box, then the Save As dialog box displays the name of this repository. This repository is typically siebel.srf and is located in the following directory:

SIEBEL_TOOLS_ROOT\OBJECTS\language

This file is locked because the Siebel Tools client is currently reading it. If you attempt to compile this repository, then Siebel Tools displays an error message.

To identify the repository you must compile

  1. Use a text editor to open the application configuration file.

    For more information, see About the Configuration Files.

  2. In the Siebel section, examine the RepositoryFile parameter to determine the repository that it references.

    For example:

    RepositoryFile=siebel_sia.srf

Using Siebel Tools Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.