2009/7/24 Júlio Cesar Bueno Cotta <juliocbco...@gmail.com> > 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?
Ran it with the following build.xml *project> <condition property="first"> <http url="http://google.com"/> </condition> <condition property="second"> <http url="http://does_not_exist.com"/> </condition> <echo>first="${first}" second="${second}"</echo> </project> * Got the following output *$ ant Buildfile: build.xml [echo] first="true" second="${second}" * The http://google.com set the property "first", but the second one http://does_not_exist.com doesn't set the property "second" (which is why it printed out ${second}). Seems to work fine. However, the format must be a vaild URL format which means you need to include the protocol and possibly the port. -- David Weintraub qazw...@gmail.com