ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiling Lu" <...@invoqsystems.com>
Subject RE: Hostname in ant
Date Tue, 24 Aug 2004 22:48:48 GMT
Or:

<exec executable="uname"  dir="./" outputproperty="host.name"
os="Linux">
	<arg value="-n"/>
</exec>			

Yiling Lu

-----Original Message-----
From: Gera, Prateek [mailto:prateek.gera@hp.com] 
Sent: Tuesday, August 24, 2004 1:39 PM
To: user@ant.apache.org
Subject: Hostname in ant

Hi,
  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
systems.

Thanks
./pr

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



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


Mime
View raw message