ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David" <achepat...@yahoo.es>
Subject Detecting the operative system
Date Thu, 14 Aug 2003 14:00:50 GMT
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