ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <adam....@cyberspaceroad.com>
Subject Re: Localhost name
Date Thu, 12 Dec 2002 16:44:55 GMT
How about for Linux:

<exec executable="uname" outputproperty="hostname">
   <arg line="-a"/>
</exec>
<echo message="${hostname}"/>


OK, now you tell me how I can echo the content of a classpath I just 
compiled, for debug purposes?

Thanks
Adam




Luis Andrei Cobo wrote:

> Is there a way, in Ant, without specifying some startup variable or hard
> coding a property, to get the machine name for localhost that the buld
> script is running on?
>
> Luis Andrei Cobo
> lcobo@cover-all.com
> (201) 794-2862
> Cubby 3330
>
>
>
>
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>


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


Mime
View raw message