ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Kruithof ...@famkruithof.net>
Subject Re: How to retrieve IP address
Date Tue, 01 Feb 2011 20:01:58 GMT
On 31-1-2011 9:03, hezjing wrote:
> Hi
>
> May I know if it is possible to retrieve the IP address of the running
> server in Ant?
>
>
http://ant.apache.org/manual/Tasks/hostinfo.html

using the standard ant <hostinfo/> task the ADDR4 property is set, which 
will contain the address of the host ant is running on.


br Martijn

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


Mime
View raw message