Download ILU 2.0beta1 Reference Manual
Transcript
Chapter 7: Using ILU with Java 142 -noreport The list of generated Java files is not generated. -noreport has no ‘suffix’ version (see below). -exsuffix Define a suffix used in the name of exceptions. NOT recommended. All command line options (unless if documented otherwise) have a second variant with a suffix "1". If the command line option with suffix is used, an extra argument for the name of an interface is read, and the option only affects that interface. The un-suffixed command line options affect all interfaces. Suffixed command line options override un-suffixed command line options. Option processing is from left to right. The stubber can be run without arguments to generate a usage message. 7.4.1.1 Problems and Solutions Stubbing will create a very large number of files with the Java extension. You don’t want to loose your source files among the generated stubs. We recommend creating a subdirectory called ‘./javastubs/’. All generated stubs should be generated into this directory. (This is the default; we do not recommend changes.) (As a safety measure) if a non-standard directory is used, the stubber does NOT create it automatically. Unlike the top level stub directory, sub directories are created automatically by the stubber. Stubs might have conflicting names. Generate stubs in a hierarchical directory structure, according to their Java package structure. (This is the default; we do not recommend changes.) Stubs might conflict with manually generated Java sources. 1. Use good ILU interface names (Or OMG IDL module names). This is recommended for ‘‘production’’ ILU use. 2. Direct the stubber to generate all stubs into a prefix package stubs. This is recommended for perusing non-well-known interfaces. Use the -prefix option to name a prefix. 3. Stubs conflict with standard stubs loaded with the bootclass path. Use the -prefix option when stubbing. 7.4.1.2 Java Compilation Unless you are using make files, we recommend stubbing into empty directories. This allows the Java compiler to compile all Java files with an asterisk syntax. Always use the -d option with the Java compiler!!! In unix, the report file can be used to generate the list of files to be compiled. It can be used directly with a back-quote cat report-file back-quote syntax.
Related documents