ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject Re: Detecting the operative system
Date Thu, 14 Aug 2003 14:18:58 GMT
Have a look at the condition task in the manual, and the paragraph about os.
Also make a build script with the task echoproperties in it, and see what it
----- Original Message -----
From: "David" <>
To: "Ant Apache User List" <>
Sent: Thursday, August 14, 2003 4:00 PM
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
>, 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 (for checking with a
> particular value)
> Thanks in advance,
> David
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message