ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <>
Subject Re: Hostname in ant
Date Tue, 24 Aug 2004 21:31:27 GMT
Use the exec task, command hostname, and use the outputproperty 
attribute to capture what goes on stdout

Gera, Prateek wrote:

>  How can I get the hostname OR IP adress of a unix system that ant runs
>on. The environment variable HOSTNAME is not set, as may be on some unix
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message