On of the other links points to this as a solution:

<target name="set-name">
    <property environment="env"/>
    <property name="env.HOSTNAME" value="${env.COMPUTERNAME}"/>
    <echo message="host = ${env.HOSTNAME}"/>
  </target>

Which works on Win2k but will have to test on Solaris later.

Thanks

Rakesh

-----Original Message-----
From: Shatzer, Larry [mailto:[EMAIL PROTECTED] 
Sent: 07 October 2005 16:51
To: 'Ant Users List'
Subject: RE: Help with choosing build property file


> -----Original Message-----
> From: Rakesh Patel [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 07, 2005 8:43 AM
> To: Ant Users List
> Subject: RE: Help with choosing build property file
> 
> 
> Hi James,
> 
> Both your links point to the same resource (the first hit in google).
> 
> However, this does not work for me(on Windows):
> 

What version of windows?

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



American Express Investments and American Express Independent Financial 
Advisers are marketing names for American Express Financial Services Europe 
Limited, a separate corporation within the American Express group of companies. 
 American Express Financial Services Europe Limited is authorised and regulated 
by, and is entered into the register (No. 190853 www.fsa.gov.uk/register/) of, 
the Financial Services Authority and a member of the London Stock Exchange. 
Registered in England No. 3614902. Registered address: 230 Blackfriars Road, 
London SE1 8NW. Vat No. 740 4143 68. 

The information in this email and any attachments is confidential and intended 
solely for the attention and use of the named addressee(s). It may be subject 
to legal, professional or other privilege and further distribution of it is 
strictly prohibited without our authority.  If you are not the intended 
recipient, you are not authorised to and must not disclose, copy, distribute, 
or retain this message or any part of it, and should notify us immediately.


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

Reply via email to