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>

--
David Weintraub
da...@weintraub.name

On Aug 14, 2012, at 10:39 AM, Kamal Ahmed <kamal2222ah...@yahoo.com> wrote:

> 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.

Reply via email to