< prev index next >
src/java.corba/share/classes/com/sun/tools/corba/se/idl/Compile.java
Print this page
*** 50,91 ****
/**
* Compiler usage:
* <br><br>
*
! * java com.sun.tools.corba.se.idl.toJava.compile [options] <idl file>
* <br><br>
*
* where <idl file> is the name of a file containing IDL definitions,
* and [options] is any combination of the options listed below. The options
* and the idl file name can appear in any order.
* <br><br>
*
* Options:
* <dl>
! * <dt>-i <include path>
* <dd>By default, the current directory is scanned for included files.
* This option adds another directory. See also Note 1 below.
*
! * <dt>-d <symbol>
! * <dd>This is equivalent to the following line in an IDL file: #define <symbol>
*
! * <dt>-emitAll
* <dd>Emit all types, including those found in #included files.
*
! * <dt>-v
* <dd>Verbose mode.
* </dl>
*
* Note 1: 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:
*
! * <pre>
* includes=<path1>;<path2>;...;<pathN>
! * </pre>
*
* 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.
*
--- 50,91 ----
/**
* Compiler usage:
* <br><br>
*
! * {@code java com.sun.tools.corba.se.idl.toJava.compile [options] <idl file>}
* <br><br>
*
* where <idl file> is the name of a file containing IDL definitions,
* and [options] is any combination of the options listed below. The options
* and the idl file name can appear in any order.
* <br><br>
*
* Options:
* <dl>
! * <dt>{@code -i <include path>}
* <dd>By default, the current directory is scanned for included files.
* This option adds another directory. See also Note 1 below.
*
! * <dt>{@code -d <symbol>}
! * <dd>This is equivalent to the following line in an IDL file: {@code #define <symbol>}
*
! * <dt>{@code -emitAll}
* <dd>Emit all types, including those found in #included files.
*
! * <dt>{@code -v}
* <dd>Verbose mode.
* </dl>
*
* Note 1: 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:
*
! * <pre>{@code
* includes=<path1>;<path2>;...;<pathN>
! * }</pre>
*
* 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.
*
*** 479,504 ****
/**
* This is the repository of emitter arguments.
**/
public Arguments arguments = null;
/**
! * This hashtable contains <real name, alias> pairs. It is filled in by
* extenders in cases where they wish to override an IDL type name with
* some other name. For instance, when mapping to Java, there could be
! * an overrideNames entry of <"TRUE", "true">. NOTE: Do NOT change this
* variable to a new Hash table. Just add elements to it.
**/
protected Hashtable overrideNames = new Hashtable ();
/**
* This is the symbol table. It will be empty until the parse method
* executes. If errors are encountered, the state of the symbol table
* is undefined.
**/
protected Hashtable symbolTable = new Hashtable ();
/**
! * This is a vector of strings of the form "IDLfile" or <IDLfile>. It is
! * a list of the files included in the given IDL file. It will be empty
* until the parse method executes. If errors are encountered, the state
* of this vector is undefined.
**/
protected Vector includes = new Vector ();
/**
--- 479,504 ----
/**
* This is the repository of emitter arguments.
**/
public Arguments arguments = null;
/**
! * This hashtable contains {@code <real name, alias>} pairs. It is filled in by
* extenders in cases where they wish to override an IDL type name with
* some other name. For instance, when mapping to Java, there could be
! * an overrideNames entry of {@code <"TRUE", "true">}. NOTE: Do NOT change this
* variable to a new Hash table. Just add elements to it.
**/
protected Hashtable overrideNames = new Hashtable ();
/**
* This is the symbol table. It will be empty until the parse method
* executes. If errors are encountered, the state of the symbol table
* is undefined.
**/
protected Hashtable symbolTable = new Hashtable ();
/**
! * This is a vector of strings of the form {@code "IDLfile"} or {@code <IDLfile>}.
! * It is a list of the files included in the given IDL file. It will be empty
* until the parse method executes. If errors are encountered, the state
* of this vector is undefined.
**/
protected Vector includes = new Vector ();
/**
< prev index next >