RMI Compiler Settings
The Compiler Types node has the following
subnodes for compiling RMI stub files:
- RMI Stub Compiler
- RMI Stub Compiler (IIOP)
The RMI Stub Compiler node represents a mode for running the rmic
compiler and generating RMI stubs and skeletons. When you generate an
RMI implementation class with the RMI templates, the
stub compiler is assigned by default. You can see the compiler that
has been assigned for an implementation class by looking at the
property sheet for the class. (The property sheet's Execution tab has
a Compiler property.)
To customize the stub compiler setting:
- Choose Tools
Options
from the main window.
- Expand the node for Building.
- Expand the node for Compiler Types and select an RMI compiler type.
The Properties tab contains the following properties:
- Error Expression.
The string used in error messages to identify
the source of messages issued when compiling RMI classes.
- External Compiler.
The command line executable that is
used to compile an RMI class for stub and skeletons.
This property defaults to a local copy of the rmic
compiler. The format can contain symbolic names that are replaced
according to the RMI Stub Compiler configuration.
- Identifying Name.
An instance of the RMI Stub Compiler that is defined with these
property settings. The default value is RMI Stub Compiler. When this
name appears in a class's property sheet, the IDE uses the compilation
mode defined by this node.
- IIOP.
If true, turns on IIOP over RMI compilation. The default
setting is False.
- Keep Generated.
If true, stub source files are not deleted. The default
setting is False.
- Target.
The directory for generated classes. Can either reflect Java
Compiler Settings or can be specified in the Expert properties.
- Version.
Specifies the version of the JDK used to generate stubs. The default
version is JDK 1.2.
The Expert tab contains the following properties:
- Target.
The output directory for the generated classes.
The Info tab contains the following properties:
- Name.
Name of the stub compiler.
-
Template.
If true, uses this object as a template.
Legal Notices