Re: BUILD FAILED messages in output when using tasks

2009-06-18 Thread David Weintraub
The BUILD FAILED messages are not printed during the call to task "test2", but after "test2" exits due to an error. They are part of the output from Ant and not the task itself. If you want the BUILD FAILED output, you need to first capture the output of Ant and not of a single task. You also need

BUILD FAILED messages in output when using tasks

2009-06-17 Thread 5dark
Hey all. I notice when using the task if a exception or error occurs in the Ant project then the error doesn't show up in the task's output file (in this example "mylog.txt"). EG: with ant code: The output is (ignore the line numbers):