man pages section 1: User Commands

Exit Print View

Updated: July 2014
 
 

radadrgen(1)

Name

radadrgen - code generator

Synopsis

radadrgen [-h] [-d DIRECTORY] [-k] -l {c,java,jmx,python} -s
                   {client,server}
                   adr

Description

The radadrgen command is the ADR IDL processing tool. It may be used to generate language bindings for RAD client or server implementations.

All invocations validate the given document against the ADR schema.

Options

The following options are supported:

–h, –-help

Shows the help message and exits.

–d DIRECTORY, –-directory DIRECTORY

Specifies an output directory. If none is specified, the current directory is used.

–k, –-keep

Does not overwrite the existing output. If this flag is not specified, radadrgen will over-write the existing output files.

–l {c,java,jmx,python}, –-language {c,java,jmx,python}

Specifies the language for which bindings should be generated. The list of supported languages (for both client and server side) is present in the help message.


Note -  Not all language/side options are supported. Attempting to invoke an unsupported combination will result in an error message.
–s {client,server}, –-side {client,server}

Specifies whether bindings should be generated for server side (skeleton) implementation or client side (stub).


Note -  Not all language/side options are supported. Attempting to invoke an unsupported combination will result in an error message.

Operands

The following operand must be specified on the command line:

adr

The path to the API specification for which type and interface definitions must be generated.

Files

/usr/share/lib/xml/rng/radadr.rng.1

The core ADR RelaxNG schema definition.

/usr/share/lib/xml/rng/radadr-doc.rng.1

The ADR RelaxNG schema definition for documentation elements.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/management/rad
Interface Stability
Private

See also

rad(1M), attributes(5)