Use <pathconvert>,

Benoit

-----Original Message-----
From: Adam Hardy [mailto:[EMAIL PROTECTED]]
Sent: 12. december 2002 17:45
To: Ant Users List
Subject: Re: Localhost name


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
> [EMAIL PROTECTED]
> (201) 794-2862
> Cubby 3330
>
>
>
>
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to