Ant task GET will download an http request.
How can i visit a webpage and throw the response to the current logger, and maybe take some decition according to the response?
Thanks in advance
Edit:
It worked out like:
<target name="genera">
<exec executable="curl" outputproperty="webProcess" errorproperty="error">
<arg line="http://web/web.php"/>
</exec>
<echo message="${webProcess}" />
<condition property="isOk">
<equals arg1="OK" arg2="${webProcess}"/>
</condition>
<echo message="${isOk}" />
<antcall target="doStuffIfOk" />
</target>