Abstract base class for all sub tasks that create logging appenders that write to an output stream.

Ant Parameters
Attribute Type Description Required

appendername

String

Name of the appender to create. This name must be unique.

Yes.

ignoreexceptions

boolean

The default is true, causing exceptions encountered while appending events to be internally logged and then ignored. When set to false, exceptions will be propagated to the caller instead.

No.

immediateflush

boolean

When set to true, each write will be followed by a flush. This will guarantee the data is written to the underlying output stream but could impact performance.

No.

failonerror

boolean

Flag to control failure behaviour. If true, the sub task will throw a BuildException when an error is encountered. If false, the sub task will throw a NonFatalBuildException instead of a BuildException under specific circumstances. See below for conditions (if any) which will cause a NonFatalBuildException.

No. Default value is taken from the Rhino management parent task.

NonFatalBuildException throw conditions
  • Implementation dependent.

Previous page Next page
Rhino Version 3.1