edit ant.bat or ant.sh and add a java property to the java command which starts Ant

-Dmachine.name=%COMPUTERNAME% on Windows
-Dmachine.name=`hostname` on Unix (or maybe $HOSTNAME)

-fred

Nick Davis wrote:
> 
> Hi All,
> 
> Is there a way to determine the machine name
> from ANT without writing a new task?
> 
> Cheers,
> Nick
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
begin:vcard 
n:Lavigne;Frederic
tel;fax:+33 4 92 94 20 88
tel;work:+33 4 92 94 20 95
x-mozilla-html:FALSE
url:http://www.castify.net
org:Castify Networks;Research & Development
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
adr;quoted-printable:;;Centre de Communication Avanc=E9e (CICA)=0D=0A2229, Route de Cr=EAtes;Sophia Antipolis;;06904;FRANCE
fn:Frederic Lavigne
end:vcard

Reply via email to