ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederic Lavigne <f...@castify.net>
Subject Re: machine name
Date Wed, 23 May 2001 17:20:09 GMT
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/
Mime
View raw message