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) <[EMAIL PROTECTED]> wrote: > > possible to get hostname in ant? > > cheers, > > //mikael > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >