I have an Ant script which I run in Eclipse and it outputs in the console like so:
buildStuff:
[echo] Building <project>
doStuff:
syncStuff:
[sync] Copying 1 file to <directory>
doOtherStuff:
callWebservice:
[http] HTTP Request
[http] ********************
[http] URL: <url>
[http] Method: GET
[http] HTTP Response
[http] ********************
[http] Status: 200
[echo] [callWebservice] Success
I would like to put some/all of this output into a property inside the ant script.
With the exec task I can specify an "outputproperty" attribute, but this does not work for antcall task.
So, how do I either access or redirect the console output from within ant?