humm..that can help me ..
just to be sure..
if the url is www.google.com it is ok..but if the url is
www.Do_Not_exist.com it is a valid url?

Thanks.

2009/7/24 Shawn Beard <sbeard7...@yahoo.com>

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



-- 
  Júlio Cesar Bueno Cotta
Graduando em ciência da computação
   Universidade Federal de Viçosa

Reply via email to