Ant

The Ant component executes the specified Apache Ant script.

Stream Information

InputFormatAll
Number of Inputs1
OutputFormatAll
DescriptionThe input stream is copied to the output stream.

If the input stream is of type ParameterList, then the fields of the input stream are passed to the Ant process as named properties.

Component Properties

NameData Type/SelectionMappingDescription
BuildfilestringYes The Ant build script file name.
BuildfileHomeDirectorychoiceNoneThis property defines the base path for the value of the Buildfile property. If BuildfileHomeDirectory=ProjectOwner, Buildfile is taken to be relative to the home directory of the project owner. If BuildfileHomeDirectory=ExecuteUser, Buildfile is taken to be relative to the home directory of the executing user.
TargetstringYes The Ant build script file target name.
LogLevelchoiceYes The Ant output log level.
LogStorePathstringYes

If non-empty, the Ant logging data is stored in this location, relative to the LogHomeDirectory. If undefined, the Ant logging data is not saved.

This property supports substitutions for the ${date}, ${time}, and ${datetime} macros. These macros will be replaced by the system's respective date, time and DateTime at which the log data is saved.

LogHomeDirectorychoiceNoneIf LogStorePath is non-empty, this property defines the base path. If LogHomeDirectory=ProjectOwner, LogStorePath is taken to be relative to the home directory of the project owner. If LogHomeDirectory=ExecuteUser, LogStorePath is taken to be relative to the home directory of the executing user.
CurrentLogFilenamestringYesIf Ant logging data is stored, this output-only property is set to the log's full file path.

Loop Management

This component cannot be the starting point for a loop.

Transaction Management

Commit

Do Nothing

Rollback

Do Nothing

Exceptions

TypeParametersFlow Input StreamError CodeCause
Exception none

This component's input stream.

none The specified Buildfile could not be found.
none The specified target could not be found in the Buildfile.
none Ant returned an error.
none LogHomeDirectory was set to ExecuteUser, but the execute user for this flow wasn't set at runtime.