ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Beard <>
Subject Re: Using ANT to validate a URL
Date Fri, 24 Jul 2009 15:05:30 GMT
Yes thats all I need to do is make sure it is valid. Thank you. 


From: David Weintraub <>
To: Ant Users List <>
Sent: Friday, July 24, 2009 10:00:29 AM
Subject: Re: Using ANT to validate a URL

On Fri, Jul 24, 2009 at 10:47 AM, Shawn Beard <> 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}"/>

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

David Weintraub

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