> > Don't these tasks extend <exec>? Can you simply > > redirect their error output to /dev/null? > > Even if I could, I do not know if I would want to do that since I would > loose other useful information.
You could try this in exec(but its totally *nix specific) your_command withparams_and_switches 2>> my_error.txt | tee >> my_output.txt e.g say you have a file called foo.bar on your present working directory, and your task is to read its contents, you could do : cat foo.bar 2>> my_error.txt | tee >> my_output.txt If there is any error it is appended to my_error.txt and any proper output is appended to my_output.txt. All you have to do after that is have a mechanism to keep rotating my_error.txt and my_output.txt periodically as an when they are run so that you can have your ``useful information". You could use a simple <copy> task to do that. I'm sorry if this is too much *nix and hardly any Ant, but the idea just occured to me :-) Regards, - vihan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]