| Compiler usage:
java com.sun.tools.corba.se.idl.toJavaPortable.Compile [options] <idl file>
where <idl file> is the name of a file containing IDL definitions,
and [options] is any combination of the options listed below. The options
may appear in any order.
Options:
- -i <include path>
- By default, the current directory is scanned for included files.
This option adds another directory. See also the note below.
- -d <symbol>
- This is equivalent to the following line in an IDL file:
#define <symbol>
- -f
- Defines what bindings to emit. is one of client, server, all,
serverTIE, allTIE. serverTIE and allTIE cause delegate model skeletons
to be emitted. If this flag is not used, -fclient is assumed.
allPOA has the same effect as all, except for generation POA type skeletons.
- -keep
- If a file to be generated already exists, do not overwrite it. By
default it is overwritten.
- -sep
- Only valid with -m. Replace the file separator character with
in the file names listed in the .u file.
- -emitAll
- Emit all types, including those found in #included files.
- -v
- Verbose mode.
- -pkgPrefix
- Whereever is encountered, make sure it resides within
<package> in all generated files. <type> is a fully
qualified, java-style name.
Note: If you have an include path or paths that you will always
be using, it can get tedious putting these on the command with the -i
option all the time. Instead, these can be placed into a config file
called idl.config. This file must be in the CLASSPATH. The format of
the includes line is:
includes=;;...;
Note that the path separator character, here shown as a semicolon,
is machine dependent. For instance, on Windows 95 this character
is a semicolon, on UNIX it is a colon.
|