Can anyone suggest to me the best way to capture the output from an Ant command?
I'm writing some routing tests for sun spot devices. The command itself returns network statistics. I'm trying to write something which will dump all these results into a more visual application.
I'm on Windows Vista.
you could simply use the ant recorder task:
<record name="build.log"> </record>
this has the advantage of having the output written both to the screen and to the log file, which isn't the case when doing output redirection ant debug > build.log
or calling ant with the -logfile
option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With