![]() |
Options to the idl2com command can be specified in any combination. The -g option is mandatory, all other options are optional. The options can appear in any order. The IDL filename is required and must appear last. A maximum of 9 parameters can be specified, including the IDL filename. If more than 9 parameters need to be specified, the user can resort to invoking Java directly. Examine the contents of idl2com.bat to see how to do this. If no parameters are specified, idl2com will write its syntax and options to standard output.
With the exception of the IDL filename, options to the idl2com command are preceded with a dash (-) character and must be specified individually. For example, -emitAll -keep -v. Some options accept an argument. The space between this type of option and its argument is mandatory. For example, -d DEBUG. All options are case-sensitive, even on platforms where file names are not case-sensitive.
The following table describes each available option:
idl2com command options
Option Description -d symbol This is equivalent to the following line in an IDL file: #define symbol -emitAll Emit all types, including those found in included files. The default is to emit only the types that are part of the IDL being processed. -g GUID The GUID seed to be used for GUID generation in the registry file format of: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx This value is generated by using the guidgen.exe utility included with Microsoft Visual C++. -i include path By default, the current directory is scanned for included files. This option adds another directory. Multiple -i include path options can be specified. -keep If a file to be generated already exists, do not overwrite it. By default it is overwritten. -v Verbose mode. Default is non-verbose mode.
Related tasks... | |
Creating IDL files for an enterprise bean | |
Related concepts... | |
Interface Definition Language (IDL), usage and implementation | |
Related reference... | |
Interface Definition Language (IDL) | |