You can use the <available> in Ant to check for the URL and have Ant fail the build if it's not available.
In fact this can be placed in a fail task.
<fail message="${wsdl.url} isn't available">
<condition>
<not>
<available url="${wsdl.url}"/>
</not>
</condition>
</fail>
Hi,
Does someone have any insight and suggestion, as to what would work best in the following scenario.
I want to have a pre-check in place, which will verify if a particular WSDL is available , and if it IS ( meaning we get WSDL XML )
only then kick off the ant task which runs some functional tests
Thanks,
-Kamal.