Class BaseRedirectorHelperTask

All Implemented Interfaces:
Direct Known Subclasses:
AbstractCatalinaTask, JMXAccessorTask, ValidatorTask

public abstract class BaseRedirectorHelperTask extends
Abstract base class to add output redirection support for Catalina Ant tasks. These tasks require Ant 1.5 or later.
WARNING: due to depends chain, Ant could call a Task more than once and this can affect the output redirection when configured. If you are collecting the output in a property, it will collect the output of only the first run, since Ant properties are immutable and once created they cannot be changed.
If you are collecting output in a file the file will be overwritten with the output of the last run, unless you set append="true", in which case each run will append it's output to the file.
Gabriele Garuglieri