Class Compile
java.lang.Object
com.sun.tools.corba.ee.idl.Compile
com.sun.tools.corba.ee.idl.toJavaPortable.Compile
Compiler usage:
java 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:
java 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<side>
- Defines what bindings to emit. <side> 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 <string>
- Only valid with -m. Replace the file separator character with <string> in the file names listed in the .u file.
- -emitAll
- Emit all types, including those found in #included files.
- -v
- Verbose mode.
- -pkgPrefix <type> <package>
- Whereever <type> is encountered, make sure it resides within <package> in all generated files. <type> is a fully qualified, java-style name.
includes=<path1>;<path2>;...;<pathN>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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Factories
static Compile
(package private) ModuleEntry
(package private) InterfaceEntry
(package private) ModuleEntry
(package private) ModuleEntry
static int
Fields inherited from class com.sun.tools.corba.ee.idl.Compile
arguments, includes, overrideNames, symbolTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Factories
static void
protected void
preEmit
(Enumeration<SymtabEntry> emitList) protected void
preEmitELElement
(SymtabEntry entry) This method is called by preEmit once for each emitList entry.protected void
preEmitSTElement
(SymtabEntry entry) This method is called by preEmit once for each symbol table entry.private void
preParse()
void
Start the parse/code generation process.Methods inherited from class com.sun.tools.corba.ee.idl.Compile
displayVersion, generate, init, parse
-
Field Details
-
_factories
-
org
ModuleEntry org -
omg
ModuleEntry omg -
corba
ModuleEntry corba -
object
InterfaceEntry object -
importTypes
-
factory
-
typedefInfo
public static int typedefInfo -
list
-
compiler
-
-
Constructor Details
-
Compile
protected Compile()
-
-
Method Details
-
main
-
start
Description copied from class:Compile
Start the parse/code generation process. This method calls init, parse, generate. If more control is desired, rather than call start, those three methods could be called explicitly. -
factories
-
preParse
private void preParse() -
preEmit
-
preEmitSTElement
This method is called by preEmit once for each symbol table entry. It can be called by extenders. -
preEmitELElement
This method is called by preEmit once for each emitList entry. It can be called by extenders.
-