ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Help with exec
Date Wed, 15 Nov 2000 18:25:48 GMT
The 'os' designation appears to require the precise value of the ''
project property, including proper case.  Run ant with the -debug switch to
determine the particular setting for Windows 2000.

For instance, if: -> Windows NT

... then the following is true:

<exec executable="dir" os="Windows"> ...     <- bypassed
<exec executable="dir" os="windows nt"> ...  <- bypassed
<exec executable="dir" os="Windows NT"> ...  <- executed


-----Original Message-----
From: Stefan Bodewig []
Sent: Wednesday, November 15, 2000 3:39 AM
Subject: Re: Help with exec

Ron J. Green, Jr. <> wrote:

> You're right, I picked a bad example. Your example works fine as
> long as I leave out os="windows". If I include it, however, doesn't
> run on my Windows 2000 machine.
> Is this a known problem. I checked the FAQ and didn't see it
> mentioned.

Does it work if you use a capital W in Windows (don't have Windows
here to check). Looking at the code it seems to be case sensitive.


View raw message