User Commands ADRGEN(1)
NAME
adrgen - ADR code generator
SYNOPSIS
/usr/bin/adrgen [-c [ -r [-s] ]] [-j dir [-i]] {spec.xml}
DESCRIPTION
adrgen is a tool that generates C or Java definitions from
an ADR input file. OPTIONS The following options are available for use on the command line:-c Generate C definitions for the types and APIs defined
in the input file.-r Generate C server-side definitions that reference entry
points using the prescribed entry-point naming scheme.
-s Generate C stubs for entry points referenced by the
defintions created by the -r option.
-j dir
Generate Java interfaces for the types and APIs defined in the input file. The Java source tree will be created under dir.-i Generate concrete implementation classes for all
interfaces generated by the -j option.
OPERANDS The following operand must be specified on the command line: spec.xml The path to the ADR specification for which type and API definitions must be generated.SunOS 5.11 Last change: April 12, 2010 1