ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Ant and Ping
Date Wed, 09 Jan 2008 13:43:55 GMT
Z W wrote:
> Hi Gurus
> 
> Is there a jar file out there that provides ping task to verify if a host
> connection is working ?
> 

There's no way to do ping in the Java APIs (see java.sun.com bugreps 
'ICMP for Java'), so no pure ping command.

the <isreachable> condition does something ping-like on a java 1.5+ runtime

-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message