The Talon Manual

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor reorg of options

...

that models are advanced delta detection
Command Line/AntMaven PluginDescriptionDefault
-f, --file

modelFile

The input file specified either as OS path or URL-
-m, --modelsdirmodelsDirectoryBase directory for the-
-o, --outdirprojectOutputDirectory

Base output directory for the generated files.

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

-
-c, --classesdirclassesOutputDirectoryClasses output folder (to which generated resoures should be copied). May be specified multiple times to copy to multiple directories.-
-e, --encodingencodingTypeEncoding type of content underlying the generated classes (Xbuf | Protobuf | Json)Protobuf
-x, --xpcompatprotoXbufGenerationCompatibilityWire compatibility between protobuf and xbuf generated classes (None | Xbuf | ProtobufProtobuf
-y, --emptyifnullarraygenerateArrayGetterEmptyIfNullInstructs the code generator return empty arrays instead of null for unset array fieldsfalse
-n, --namespacenamespaceNamespace override of model parsed from the input file (overrides namespace in model file if supplied)-
-p, --protodirN/A

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

-
-d, --directivedirectives

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

See Directives below.

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

false

(true for maven plugin)

-u, --bundledirmodelBundleOutputDirectoryDirectory to which to output model XML and IDL files if applicable-
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, --bundledirmodelBundleOutputDirectoryDirectory 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.-

...