ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajat Gupta" <>
Subject RE: OS supported by exec Task
Date Tue, 12 Nov 2002 15:59:42 GMT
Hi Scott,
  I have already looked into it and wasn't able to find this value defined
anywhere. Actually I wanted to know what is the String being returned for
Win 95, 98, 2000, Windows XP, Mac, Unix and Linux.

Is set in Java from the Operating System or the possible values are
already defined by Java?

Any pointers.....


-----Original Message-----
From: Scott Francis []
Sent: Tuesday, November 12, 2002 8:44 PM
To: Ant Users List
Subject: RE: OS supported by exec Task

The os attribute is populated from the Java environment.  Look up the java
documentation for "os.names" and you should get the full list of what Java


-----Original Message-----
From: Rajat Gupta []
Sent: Tuesday, November 12, 2002 9:08 AM
To: Ant Users List
Subject: OS supported by exec Task

Hi All,
  The "os" attribute of exec task determines that this executable will be
called for which Operating Systems. I want a list of the Operating System
names supported by ANT. I was able to find out two of them.... 'SunOS' and
'Windows NT'. Can someone please provide me a list of the other OS names
present in the ANT's list.
I hope the question is clear.

This is required for my build script which will be running of different OS.

Thanks in Advance,

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

View raw message