Class Compile
java.lang.Object
com.sun.tools.corba.se.idl.Compile
com.sun.tools.corba.se.idl.toJavaPortable.Compile
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:
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. - Defines what bindings to emit.
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.; ;...;
-
Field Summary
FieldsFields inherited from class com.sun.tools.corba.se.idl.Compile
arguments, includeEntries, includes, overrideNames, symbolTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Factoriesstatic voidprotected voidpreEmit(Enumeration emitList) protected voidpreEmitELElement(SymtabEntry entry) This method is called by preEmit once for each emitList entry.protected voidpreEmitSTElement(SymtabEntry entry) This method is called by preEmit once for each symbol table entry.protected voidpreParse()voidStart the parse/code generation process.Methods inherited from class com.sun.tools.corba.se.idl.Compile
displayVersion, generate, init, parse, registerPragma
-
Field Details
-
_factories
-
importTypes
-
factory
-
typedefInfo
public static int typedefInfo -
list
-
compiler
-
-
Constructor Details
-
Compile
protected Compile()
-
-
Method Details
-
main
-
start
Description copied from class:CompileStart 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
protected 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.
-