Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 61630 invoked from network); 15 Nov 2000 22:45:01 -0000 Received: from mta4.rcsntx.swbell.net (151.164.30.28) by locus.apache.org with SMTP; 15 Nov 2000 22:45:01 -0000 Received: from homer ([64.123.19.114]) by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with SMTP id <0G4300BZU80GB7@mta4.rcsntx.swbell.net> for ant-user@jakarta.apache.org; Wed, 15 Nov 2000 16:33:53 -0600 (CST) Date: Wed, 15 Nov 2000 16:32:56 -0600 From: "Ron J. Green, Jr." Subject: RE: Help with exec In-reply-to: <913D0D2A9071D111B7C200805FE6C6E702B6FBAC@US2> To: ant-user@jakarta.apache.org Message-id: MIME-version: 1.0 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Importance: Normal X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Priority: 3 (Normal) X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N That did the trick. I needed to specify "Windows 2000" exactly for it to work. I also had assumed that the "os" property was the relevant property (based upon the attribute name), not "os.name". A big thanks for the assistance. Ron -----Original Message----- From: jmone@ebsdr.com [mailto:jmone@ebsdr.com] Sent: Wednesday, November 15, 2000 12:26 PM To: ant-user@jakarta.apache.org Subject: RE: Help with exec The 'os' designation appears to require the precise value of the 'os.name' project property, including proper case. Run ant with the -debug switch to determine the particular setting for Windows 2000. For instance, if: os.name -> Windows NT ... then the following is true: ... <- bypassed ... <- bypassed ... <- executed John -----Original Message----- From: Stefan Bodewig [mailto:bodewig@bost.de] Sent: Wednesday, November 15, 2000 3:39 AM To: ant-user@jakarta.apache.org 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. Stefan