Siebel Application Deployment Manager Guide > Creating an ADM Package >

About the ADM Package Utility Modes and Switches


The ADM Package Utility creates and validates the ADM deployment package required by the ADM framework to deploy Siebel application customizations to a target environment. For more information on this utility, see About the ADM Package Utility.

There are three ADM Package Utility modes:

  • Init. Creates an empty ADM package directory structure. Deployment files must be manually copied into this directory structure before using the other ADM Package Utility functions. For more information on this task, see Creating the ADM Package Directory Structure.
  • Generate. Creates the ADM package descriptor file. For more information on this task, see Generating the ADM Package.
  • Validate. Validates an existing ADM package. The package directory structure must be in place and the generate function executed before running the validate function. For more information on this task, see Validating the ADM Package.

NOTE:  If the mode is not stated in the admpkgr command, generate mode is the default mode.

The ADM Package Utility uses several switches, as described in Table 6, depending on the packaging option required. To modify the switches, edit the admpkgr.bat file.

TIP:   For more information on copying the ADM Package Utility to other environments, see Copying the ADM Package Utility to a UNIX Environment.

Table 6. ADM Package Utility Switches
Switch
Long Name
Required
Default
Description

-r

-registryfile

No

Not applicable

ADM registry file path.

-g

-language directory

No

ENU

Used in init mode to create language subdirectories.

-h

-help

Not applicable

Not applicable

Lists help for ADM package commands.

-i

-ignoreerrors

No

None

Ignores errors while packaging. This flag allows for the creation of the package descriptor file even if the validation steps fail. However, if an error prevents the creation of the package descriptor file, this flag is ignored.

-l

-logdirectory

No

Current directory

Location of ADM Package Utility log files.

-p

-package directory

No

Current directory

Location of ADM Package folder containing ADM deployment units.

-v

-version

Not applicable

Not applicable

Prints ADM Package Utility version.

The ADM Package Utility returns the values described in Table 7, after execution in each of the three modes.

Table 7. ADM Package Utility Return Codes
Mode
Result
Return Code Value

Init

Errors (directory not created)

3

Warnings

1

Success

0

Generate

Errors (no descriptor file)

3

Errors (with descriptor file)

2

Warnings

1

Success

0

Validate

Errors

3

Warnings

1

Success

0

Siebel Application Deployment Manager Guide Copyright © 2007, Oracle. All rights reserved.