Babel requires exactly one of the following mutually exclusive arguments on the command line.
--
help : Print options to stdout.
--
version : Print version of Babel.
--
text=form :
Generate text equivalent ("sidl" or "xml") of associated package(s).
--
client=lang :
Generate client, or proxy, classes to access library.
--
server=lang :
Generate the server and client classes to implement the library.
--
parse-check :
Check the SIDL file only.
--
generate-sidl-stdlib :
Regenerate the Babel runtime library.
Additionally, there are a few supplemental arguments that complete the picture.
--
output-directory=dir :
Specifies the root directory associated with the
generated files. The default setting is
the current working directory.
--
generate-subdirs :
Generates files in a directory tree
matching the packaging scope of the SIDL file. This
is on by default for languages that have this
requirement, such as Java and Python, but off
by default for languages that have no such
requirement. Hence, code generation for only the
latter languages (e.g. C, C++, F77, F90) is effected
by this option.
--
repository-path=path :
Specifies a semicolon separated list of directories,
or URLs5.1 to search for XML Type descriptions. The need for
these XML types is to resolve references in the
SIDL file.
This option can be used multiple times on the same
command line. If appropriate, the Babel script
adds the default repository path to the command line
before dispatching to the Java Virtual Machine.
--
no-default-repository :
Prohibits the use of the default repository
in resolving symbols.
--
suppress-timestamp :
Suppresses the insertion of meta-information that
could result in generated files that would otherwise
not differ from prior executions on the same, unchanged
input file.
Typically Babel inserts meta-information such as
creation time into files it generates. Although
this information is useful, it does result in the
creation of excessive changes when using version control systems.
--
exclude=regex :
This options can be used multiple times. Each time you
add a regular expression that will be used to exclude
symbols from code generation. No code or XML will be
generated for any symbol matching the user provided
regular expression. This command line option requires
version 1.4.0 or later of the Java runtime environment.
--
comment-local-only :
This option reduces the amount of comments in stub
C header files. It will only include the doc comments
for locally defined method. It will not include doc
comments for inherited methods.
--
hide-glue :
This option causes all non-impl files to be generated
in a glue/ subdirectory. This reduces the
``clutter'' in the current directory.
--
language-subdir :
This options causes all generated files to be stored in a
language-dependent subdirectory; if the --
generate-subdirs option is also used, the language
directory will be at the bottom of the hierarchy.
--
exclude-external :
This option causes code to be generated only for the symbols
specified on the command line. No code is generated for symbols
on which the users symbols depend.