ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Detecting the operative system
Date Thu, 14 Aug 2003 14:39:10 GMT
See <osfamily> in Ant-Contrib. --DD

> -----Original Message-----
> From: David [mailto:achepati67@yahoo.es]
> Sent: Thursday, August 14, 2003 9:01 AM
> To: Ant Apache User List
> Subject: Detecting the operative system
> 
> Hello users,
> 
> I would like to know how to detect the operative system. When I run ant
> on -verbose mode it prints information in string format, with the variable
> os.name, on my case it has the value: "Windows 2000".
> 
> For my case it is enought to detect the mayor operative systems, that is:
> windows, unix, macintoch, but no the specific version under a given
> operative system. Is there any other property that gives such information,
> if not which are the possible values of os.name? (for checking with a
> particular value)
> 
> Thanks in advance,
> 
> David

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


Mime
View raw message