Developing and Deploying Siebel Business Applications > Common Software Development Tasks > Process of Modifying Siebel Objects >

Compiling Projects


This task is a step in Process of Modifying Siebel Objects.

After you make your configuration changes, you must compile them to a Siebel repository. Until you compile, the Siebel Mobile Web Client that reads the repository file does not include configuration changes you made since the prior compile. You can compile entire projects or you can compile individual objects. Compiling an individual object is faster, but you must remember to compile each object you modify.

To compile projects

  1. Close any Siebel clients that reference the SRF file you must compile.

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

  2. In Windows Explorer, make a backup copy of the SRF file.

    So that you can revert to the prior configuration, it is recommended that you create a backup copy. The SRF file for the Siebel application resides in the objects directory of the Siebel application client directory. For example, the following directory is a typical location for the SRF file for a Siebel Mobile Web Client that you install for testing in a development environment:

    C:\Siebel\8.2\Client_1\OBJECTS\ENU\siebel.srf

  3. In Siebel Tools, choose the Tools menu, and then the Compile Projects menu item.
  4. In the Object Compiler dialog box, in the Projects window, choose the project you must compile.

    Choose the NREC Configuration project for work you perform on the NREC example. You can also compile all locked projects or all projects. Compiling only the locked projects is faster than compiling all projects. If you work in multiple projects, then compiling locked projects might be easier than choosing individual projects from the list.

  5. Click Browse, and then choose the SRF file you must compile.

    NOTE:  Do not compile to the objects directory for Siebel Tools. The SRF file in this directory is locked because Siebel Tools frequently reads from it while it runs. If you attempt to compile to this SRF file, then Siebel Tools displays an error message and prevents the compile. The following directory is an example of the objects directory for Siebel Tools: C:\Siebel\8.2\Tools_1\OBJECTS\ENU\siebel.srf.

  6. Click Compile.

    After Siebel Tools successfully compiles, the SRF file you specified contains the configuration changes you made.

To compile an individual object

  1. In the Object Explorer, click the object type you must compile.
  2. In the Object List Editor, locate the object definition for the object you must compile.
  3. Right-click the object, and then choose the Compile Selected Objects menu item.
  4. In the Object Compiler dialog box, choose the SRF file you must compile.
  5. Click Compile.
Developing and Deploying Siebel Business Applications Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.