Use the cdb.rsrc.ci command to check in certain components and their source objects. You will need to use this command in the following scenarios.
You need to check in a browsable component (for example: file or Weblogic EJB)
If you want to check in a non-browsable component, use the cdb.c.ci command. For a description of the command and its arguments, see cdb.c.ci.
You need to check in source objects for a simple component.
You need to check in the referenced components of a browsable, composite component.
Each invocation of the cdb.rsrc.ci command is considered a “check-in job,” and can be managed with the CLI commands for managing check-in jobs. For example, to determine which cdb.rsrc.ci commands are running, you can run the cdb.cj.la command, which lists all the current check-in jobs. You can also pass compCheckInID value returned by cdb.rsrc.ci as an argument to cdb.cj.lo to get status information about a specific check-in job.
Table 3–37 Arguments and Result for the cdb.rsrc.ci Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
src |
[R] |
String |
The local file/directory being checked in |
dst |
[R] |
String |
Which component name to check in as |
type |
[R] |
String |
The type of the component |
platform |
[O] |
HostSetID |
The platform of the component |
desc |
[O] |
String |
A description of the component |
major |
[O] |
Boolean |
Whether the version increment should be major or minor, default false |
config |
[O] |
Boolean |
Whether the component is a config file; the default is false |
hidePrev |
[O] |
Boolean |
Whether to hide the latest component; the default is true |
includeOwners |
[O] |
Boolean |
Whether to include owner information; the default is true |
includeGroups |
[O] |
Boolean |
Whether to include group information; the default is true |
addTo |
[O] |
Boolean |
Whether the files being checked in should be added to the existing files to create a new version of the component, instead of completely replacing the existing files to create a new component |
hostID |
[O] |
HostID |
The ID of the local host |
redun |
[O] |
Boolean |
Whether redundancy checking should apply; the default is true |
pickerName |
[O] |
String |
The name of the component picker to use (defaults to null for the default picker). |
extraOpts |
[O] |
Hashtable |
Names and values for any additional options for the type. config, includeOwners, includeGroups, addTo, and redun cannot be specified using the extraOpts argument. Instead, use the command-line equivalent options described in this table to specify these values. One example of an extraOpts parameter is descriptorPath. This parameter enables you to specify the path to the resource descriptor file that you plan to reference when checking in files. For more information, see Chapter 5, Resource Descriptor Schema, in Sun N1 Service Provisioning System 5.1 XML Schema Reference Guide. |
result |
CompCheckInID |
The ID for this component check in job. |