See <osfamily> in Ant-Contrib. --DD

> -----Original Message-----
> From: David [mailto:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to