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

Using the Command Line to Import, Export, or Compile Objects


This topic describes how to use the command line to import, export, or compile objects.

To use the command line to import, export, or compile objects

  1. Open a command line, and then navigate to the following directory:

    SIEBEL_TOOLS_ROOT\BIN

  2. Enter the following command:

    siebdev/switch switch_parameters

    where:

Using the Command Line to Import Objects

This topic describes how to use the command line to import objects.

To use the command line to import objects

  1. Open a command line, and then navigate to the following directory:

    SIEBEL_TOOLS_ROOT\BIN

  2. Enter the following command:

    siebdev.exe /c config_file /d database /u user_name /p password /batchimport "Siebel Repository" import_mode \ sif_file log_file

    where:

    • import_mode determines how to handle a conflict. You can use one of the following values:
      • overwrite.
      • merge.
      • skip. If you use skip, and if a corresponding object does not exist in the repository, then there is no conflict and the utility imports the record.

        For information, see Options You Can Choose to Resolve a Conflict.

    • sif_file is a series of sif file names, such as sif_file1, sif_file2, sif_file_n, or the path to a directory that includes .sif files.
    • log_file is the name of the file that siebdev uses to log information.

You can use the full path or a relative path to the current directory to specify the archive file or the log file.

The following example imports the import1.sif file that is located in the parent directory and the import2.sif file that is located in the Siebel Tools installation directory. It uses the overwrite mode. It logs the results to the import.log file:

siebdev.exe /c tools.cfg /d sample /u sadmin /p sadmin /batchimport "Siebel Repository" overwrite \import1.sif "C:\Program Files\Siebel\8.0\Tools\import2.sif" import.log

The following example imports all sif files that the C:\Program Files\Siebel\8.0\Tools\MyFiles directory contains. It uses the merge mode. It logs the results to the import.log file:

siebdev.exe /c tools.cfg /d sample /u sadmin /p sadmin /batchimport "Siebel Repository" merge "C:\Program Files\Siebel\8.0\Tools\MyFiles" import.log

Using the Command Line to Compile Objects

This topic describes how to use the command line to compile objects.

To use the command line to compile objects

  1. Open a command line, and then navigate to the following directory:

    SIEBEL_TOOLS_ROOT\BIN

  2. Enter the following command:

    siebdev.exe /c config_file /d database /u user_name /p password /bc repository_name SRF_name

The following example compiles a repository named Siebel Repository into the siebel.srf file:

siebdev.exe /c tools.cfg /d sample /u sadmin /p sadmin /bc "Siebel Repository" Siebel.srf

If you do not specify the path to the repository file, then siebdev compiles to the following directory:

SIEBEL_TOOLS_ROOT\OBJECTS

Using the Command Line to Compile Objects in a Multilingual Deployment

You can use the following switch to support a multilingual deployment. This switch sets the Siebel Tools language for the compile:

/tl language_code

The following example compiles the repository for a Japanese deployment:

siebdev.exe /c tools.cfg /d sample /u sadmin /p sadmin /tl JPN /bc "Siebel Repository" Siebel.srf

If you use the tl switch to specify a language code, and if the language pack for this language code does not exist in the repository, then the following occurs:

  • The compile proceeds.
  • The compile does not include strings for the compiled objects.
  • Siebel CRM does not display list column headings and menu item text in the Siebel client.

Applying Patches in Batch

This topic describes how to apply patches in batch.

To apply patches in batch

  1. Open a command line, and then navigate to the following directory:

    SIEBEL_TOOLS_ROOT\BIN

  2. Enter the following command:

    siebdev.exe /u sadmin /p sadmin /d local-dest /applybatchpatch repository_name directory_that_contains_the_patch_files log_file_name

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