Alex Rivera | Logout

How can I ensure all output from Ant's exec task goes to stdout?

Asked 2009-10-21T18:17:12.190
20

The Ant exec task has an output property which can be used to tell Ant where the output goes. I've used it to redirect the output to a file. The thing is, if I don't do something with the output, the stuff that Ant prints isn't that much of a help - it's not complete.

Is there someway of setting the output property to System.out?

Edit
Report

1 Answer

3

The output of exec does go to standard out unless you specify the output attribute.

answered 2009-10-21T19:14:11.683

Your Answer