Deploys a package to Unwired Server with the administration client APIs.
deploy [deploy-options]
| Option | Description |
|---|---|
| -d domain | Specifies the domain to which the package belongs. |
| -dcf descriptorFile | (Optional) Specifies the descriptor file for the package. |
| -dm deploymentMode | Sets the deployment mode. The mode determines how deployment handles the objects in a deployment unit and package. Allowed values are:
|
| -file deploymentUnitFileName | Defines the file name of the deployment unit. For example, MyDeployUnit.xml. |
| -rm roleMapping |
Defines the role mapping for the package. Accepted values are:
The role mapping -rm role1,role2 maps the logical roles of the package to the physical roles in the server. |
| -sc securityConfig | Defines the security configuration for the package. Select an existing security configuration from the domain to which the package will be deployed. |
| -sl | Enables silent mode, which disables all user interactive questions during package deployment. During silent mode, the default values for each option are used. This mode is mainly used when writing a batch executing file. For example, the command line deploy -file deployunit.xml -sl deploys the package to the default domain with a deploy mode of UPDATE and a sync mode of REPLICATION, without asking for user confirmation. |
| -sm syncMode | Defines the synchronization mode for the package; either MBS for messaging-based synchronization, or REPLICATION for replication-based synchronization. |
deploy -file samples/uep/deployment/customer_list_unit.xml -dm UPDATE -sl