开发者

ant check internet connection

开发者 https://www.devze.com 2023-01-14 06:30 出处:网络
Is there a way to check in ant 开发者_如何学Goif an internet connection is available. You could use http://ant.apache.org/manual/Tasks/exec.html to get this information using an external command.

Is there a way to check in ant 开发者_如何学Goif an internet connection is available.


You could use http://ant.apache.org/manual/Tasks/exec.html to get this information using an external command.

Check internet connection in bash (you could write a small app for this) or try to ping some site and write the result somewhere.

Handle Exec task output in Ant

0

精彩评论

暂无评论...
验证码 换一张
取 消