Hitachi

uCosminexus Application Server Command Reference Guide


ctmidl2j (generate Java stub code)

Organization of this page

Format

ctmidl2j  [-h] |
          [-package package-name]
          [-CTMroot_dir path-name] [-root_dir path-name]
          [-gen_included_files]
          [[-I directory[;directory...]]...]
          [-A] IDL-file

Function

This command generates Java stub code for the OTM client from an IDL file.

Arguments

-h

Displays how to use the command.

-package package-name

Specifies the package name that will be prefixed to the package names defined in the IDL files. If a directory with the same name as the specified package name does not exist, the directory is automatically created. If such a directory already exists, the contents of the directory are updated. Note that the command can communicate with components that use the same user-defined IDL interface even if the -package option is not specified.

-TSCroot_dir path-name

Specifies the directory to which the source file and header file will be output. If a non-existent directory is specified, it is automatically created.

-root_dir path-name

Specifies the directory to which the source file and header file output by the idl2java command will be output.

-gen_included_files

If this option is specified, the command outputs included IDL definitions.

-I directory[;directory...]

Specifies the include file search paths. In UNIX, to specify multiple search paths, use a colon (:) as a path separator. In Windows, to specify multiple search paths, use a semicolon (;) as a separator. Alternatively, specify the -I option for each search path.

-A

If this option is specified, osagent is not internally started. Specify this option if osagent has already been started on the local host.

IDL-file

Specifies the name of the IDL file to be input. You can omit this option only when you specify the -h option. Make sure that this option is specified at the end of the command line. Also make sure that the extension of the IDL file name is .idl.

Return values

0:

The command ended normally.

Other than 0:

The command terminated abnormally due to an error that occurred during command processing. Take measures as indicated in the message that is output, and then re-execute the command.

Notes