Server User Manual

Table Of Contents
Chapter 6: Using JBuilders CORBA tools 55
Setting and viewing IDL build properties
3 Choose the Paths node in the Project Properties dialog box. Make sure the
Required Libraries list includes the libraries specific to the ORB youre working with.
4 Click OK to close the Project Properties dialog box.
Setting and viewing IDL build properties
This section explains how to set and view build properties for an IDL file. You must first
create an IDL file. You can use the Sample IDL wizard, available on the Enterprise|
CORBA page of the object gallery (File|New).
To set and view IDL build properties,
1 Right-click an IDL file in the project pane and choose Properties. The Compiler
Options page of the Build node (Properties dialog box) is displayed:
Set the Process This IDL File option to set compiler options, add the compiled
files and/or packages to the current project, and view compiler output.
Enter the package for generated code in the Package field. The package name
for definitions is prepended with the specified package name. If a directory with
the specified package name does not exist, it will be created. If the package
directory exists, its contents will be updated. When this option is not set,
idl2java
generates code using the CORBA package resolution rules.
Select the Strict Portable Code Generation option to generate code that can run
on any CORBA-compliant ORB. This means that any VisiBroker-specific code
will not be generated, including code that generates smart stubs. Selecting this
option also suppresses the generation of
toString() and bind() methods. When
this option is selected, the compiler generates skeleton code using the Dynamic
Skeleton Interface (DSI).
If not selected, the portable stubs will not be generated. VisiBroker-specific
extensions and optimizations will be present in the code that is generated.
Generated stubs will specifically be for use in VisiBroker ORB environments.
Select the Generate Example Implementation option to generate example
classes when the IDL file is compiled. If not selected, the generation of example
classes will be suppressed.
Select the Generate Comments option to generate comments in the code. If not
selected, comments will be suppressed in the generated code.
Select the Generate Tie Bindings option to generate _tie classes when the IDL
file is compiled. If this option is not selected, the generation of
_tie classes will be
suppressed.