ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Goktepe <andrewgokt...@gmail.com>
Subject Re: hostname
Date Wed, 26 Oct 2005 14:53:47 GMT
try

<exec executable="hostname" outputproperty="host.name <http://host.name>"/>

 AFAIK, this should work on both UNIX and Windows.
 -Andrew

 On 10/26/05, Mikael Petterson (KI/EAB) <mikael.petterson@ericsson.com>
wrote:
>
> possible to get hostname in ant?
>
> cheers,
>
> //mikael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message