ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <qazw...@gmail.com>
Subject Re: Using ANT to validate a URL
Date Fri, 24 Jul 2009 15:00:29 GMT
On Fri, Jul 24, 2009 at 10:47 AM, Shawn Beard <sbeard7499@yahoo.com> wrote:

> We use ANT to deploy applications.  Is there a way to have ANT validate the
> deployment by going to its URL and "Deployment is Valid" from the webpage?
>  Thank you.
>


You just want to make sure that the URL is valid?

<condition property="url.valid">
   <http url="${test.url}"/>
</condition>

That will set the property url.valid if the URL ${test.url} is reachable.

-- 
David Weintraub
qazwart@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message