Developing and Deploying Siebel Business Applications > Getting Started with Siebel Tools > The Configuration Process >

Compiling Projects

After you have made your configuration changes, you must compile them into a Siebel repository file. Until you do so, your Mobile Web Client application that reads the repository file does not reflect the changes you have made.

There are various options for compiling the repository. You can compile at the project level—selected projects, all locked projects, all projects—or you can compile individual objects. Compiling individual objects is faster, but you must remember to do it for each object you modify.

To compile projects

  1. Exit Web Client applications that are running on the SRF file to compile.

    While running, a client application maintains a lock on the SRF file.

  2. In Siebel Tools, choose Tools > Compile Projects.

    The Object Compiler window appears, as shown in the following illustration.

    Click for full size image
  3. In the Object Compiler window, indicate whether to compile selected projects, locked projects, or all projects.

    Compiling only the locked projects (those currently checked out) is faster than compiling all projects. Compiling locked projects is also often easier than selecting individual projects from the list.

    NOTE:  Be sure to make a backup copy of the repository file, siebel.srf.

  4. In the Object Compiler window, click Browse to select the SRF file to compile.

    The SRF file for your application is in the objects directory of your Siebel application client directory. For example, a typical path to an SRF file for a Mobile Web Client installed for testing on a developer's machine is C:\Program Files\Siebel\7.7\web client\OBJECTS\siebel.srf.

    NOTE:  Do not try to compile to the objects directory of Tools. The SRF file in this directory is locked because the Siebel Tools program itself reads from it constantly as it runs. If you attempt to compile to this filename and path, you will receive an error and be prevented from compiling.

  5. In the Object Explorer window, click Compile.

    After compilation is successful, the SRF file you specified contains the configuration changes you made.

To compile individual objects

  1. In the Object Explorer, select the object type to compile.

    You can only select top level objects such as, applets, views, business components, or business objects. You cannot compile child-level objects.

  2. In the Object List Editor, select the object or objects to compile.

    The objects can belong to different projects.

  3. Right-click and choose Compile Selected Objects.

    The Object Compiler dialog box appears.

  4. In the Object Compiler dialog box, select the repository file (SRF) to which to direct your changes.
  5. Click Compile.

    After compilation is successful, the SRF file contains the configuration changes that you made.

Developing and Deploying Siebel Business Applications Copyright © 2006, Oracle. All rights reserved.