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
- On the computer where you installed Siebel Tools, in Microsoft Windows, click the Start menu, enter cmd, and then press the Enter key.
- In the command-line window, navigate to the
SIEBEL_TOOLS_ROOT \BIN folder.
- 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
- Open a command line, and then navigate to the
SIEBEL_TOOLS_ROOT \BIN folder.
- Enter the following command:
siebdev.exe /c config_file /d database /u user_name /p password /batchimport "Siebel Repository" import_mode \ sif_files log_file
where:
- import_mode determines how to handle a conflict. You can use one of the following values:
- sif_files specifies the name of one or more sif files that contains the objects that batchimport imports, such as sif_file1, sif_file2, sif_file_n, or the path to a folder that includes .sif files.
- log_file specifies the name of the file that siebdev uses to log information.
You can use the full path or a relative path to the current folder to specify the archive file or the log file. The following example imports the import1.sif file in the parent folder and the import2.sif file in the Siebel Tools installation folder. 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 folder 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 Import Only Modified Objects
This topic describes how to use the command line to import only modified objects according to the objects that an SDF file defines. To use the command line to import only modified objects
- Open a command line, and then navigate to the
SIEBEL_TOOLS_ROOT \BIN folder.
- Enter the following command:
siebdev.exe d database /u user_name /p password /t tag_name /batchimport "repository_name" merge file_type input_folder log_file
where:
- database must specify one of the following values:
- t tag_name specifies the name of a tag. Batch import imports only the repository modifications that Siebel Tools associates with this tag name. You can specify only one tag name. You cannot specify multiple tag names. For more information about tags, see Using Object Tags to Manage Modifications That Multiple Developers Make.
- repository_name is the name of the repository where you compile your modifications. It is typically Siebel Repository, as shown in the Repository field of the About Repository File dialog box. For more information, see Viewing Information About the Current Repository.
- file_type is an optional parameter. You can specify SDF or SIF.
- input_folder identifies the folder where the SDF or SIF files reside.
- log_file is the name of the file that siebdev uses to log information.
For example, the following command specifies to import all objects that are tagged with the ABC team - developer 1 tag that the SDF file references, and to import these objects from each of the SDF files that reside in the D:\SDF folder. It imports these files into the Siebel Repository. It saves the log file in the Import.log file in the D:\SDF\ folder:
siebdev.exe /u sadmin /p sadmin /d Local /t "ABC team - developer 1" /batchimport "Siebel Repository" "Merge" "SDF" "D:\SDF" "D:\SDF\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
- Open a command line, and then navigate to the
SIEBEL_TOOLS_ROOT \BIN folder.
- 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 folder: 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
- Open a command line, and then navigate to the
SIEBEL_TOOLS_ROOT \BIN folder.
- Enter the following command:
siebdev.exe /u sadmin /p sadmin /d local-dest /applybatchpatch repository_name folder_that_contains_the_patch_files log_file_name
|