ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Ferdig <pfer...@comergent.com>
Subject RE: <exec os="??">
Date Wed, 15 Nov 2000 22:50:32 GMT
ok, thanks for the answers.  now the one I'm really interested in is Solaris
(version 2.7 specifically).  anyone have any experience with ant under
Solaris?

Pat

-----Original Message-----
From: Ron J. Green, Jr. [mailto:rgreen@austin.rr.com]
Sent: Wednesday, November 15, 2000 4:36 PM
To: ant-user@jakarta.apache.org
Subject: RE: <exec os="??">


Based upon my experience, the "os.name" property is set to "Windows 2000",
"Windows NT", and "Linux" on the respective machines. The "os" attribute
passed to exec must match this exactly for it to work (e.g. os="Windows
2000").

Ron

-----Original Message-----
From: jmone@EBSDR.COM [mailto:jmone@EBSDR.COM]
Sent: Wednesday, November 15, 2000 4:30 PM
To: ant-user@jakarta.apache.org
Subject: RE: <exec os="??">


Patrick,

Run ant using the -debug switch and look for the 'os.name' property to
determine the format of the OS option.

This only answers half of your question, as I am unsure how Ant makes the
ultimate determination of the OS name.  Perhaps someone else can come to the
rescue here?

John

-----Original Message-----
From: Patrick Ferdig [mailto:pferdig@comergent.com]
Sent: Wednesday, November 15, 2000 4:26 PM
To: Ant-User (E-mail)
Subject: <exec os="??">


does anyone know how ant determines the operating system?  and what is the
format of the options?  "windows", "solaris", "linux"?

Thanks for any information you can provide.

Pat
MoneJohn
jmone@EBSDR.COM

The information contained in this e-mail is confidential. This e-mail is
intended only for the stated addressee. If you are not an addressee, you
must not disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. If you have received this e-mail in
error, please inform us immediately and delete it and all copies from your
system.

EBS Dealing Resources International Limited.  Registered address: 55-56
Lincoln's Inn Fields, London WC2A 3LJ, United Kingdom. Registered number
2669861. The EBS Partnership.  Registered address: 55-56 Lincoln's Inn
Fields, London WC2A 3LJ, United Kingdom.  EBS Dealing Resources, Inc,
registered in Delaware.  Addresses: 535 Madison Avenue, 24th Floor, New
York, NY 10022, USA and One Upper Pond Road, Building F - Floor 3,
Parsippany, NJ 07054, USA.  EBS Dealing Resources Japan Limited, a Japanese
Corporation. Address: Asteer Kayabacho Bldg., 6th Floor, 1-6-1, Shinkawa,
Chuo-ku, Tokyo 104-0033, Japan.


Mime
View raw message