The Talon Manual

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor formatting changes.

...

Command Line/AntMaven PluginDescriptionDefault
-f,
--file

modelFile

The input file specified either as OS path or URL-
-m,
--modelsdir
modelsDirectoryBase directory for the-
-o,
--outdir
projectOutputDirectory

Base output directory for the generated files.

For maven plugin defaults to target/generated-[test]-sources/nvx-adm

-
-c,
--classesdir
classesOutputDirectoryClasses output folder (to which generated resoures should be copied). May be specified multiple times to copy to multiple directories.-
-e,
--encoding
encodingTypeEncoding type of content underlying the generated classes (Xbuf | Protobuf | Json)Protobuf
-x,
--xpcompat
protoXbufGenerationCompatibilityWire compatibility between protobuf and xbuf generated classes (None | Xbuf | ProtobufProtobuf
-y,
--emptyifnullarray
generateArrayGetterEmptyIfNullInstructs the code generator return empty arrays instead of null for unset array fieldsfalse
-n,
--namespace
namespaceNamespace override of model parsed from the input file (overrides namespace in model file if supplied)-
-p,
--protodir
N/A

An additonal directory in which to search for imported .proto files.

-
-d,
--directive
directives

A key=value pair specifying a code generation directive. (May be specified multiple times).

See Directives below.

-
-b,
--buildinfo
buildInfoString with build-time information such as project version, timestamp or machine. This is added to the AdmGenerated annotation of generated classes.-
-i,
--incremental
incrementalBuildTrigger incremental code generation - run only if something changed since last run

false

(true for maven plugin)

N/AuseBasicDeltaDetectionWhen running an incremental build, basic delta detection indicates thatmodel'sare rebuilt based on whether source model timestamp. With advanceddeltadetection dependencies are examined as well.false
-u,
--bundledir
modelBundleOutputDirectoryDirectory to which to output model XML and IDL files if applicable-
N/AgenerateModelBundleIndicates whether models with all their dependencies and IDLs should be output to modelBundleOutputDirectoryfalse
N/AcodegenListenerClassNameClass name of external listener to receive events from code generator. See ADM Code Generation Events.-
N/AcodegenListenerPropertiesAdditional properties to pass to the constructed code gen listener.-

...