Yes thats all I need to do is make sure it is valid. Thank you. 

 
Shawn




________________________________
From: David Weintraub <qazw...@gmail.com>
To: Ant Users List <user@ant.apache.org>
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 <sbeard7...@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
qazw...@gmail.com



      

Reply via email to