Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 71029 invoked from network); 24 Apr 2002 02:06:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 Apr 2002 02:06:52 -0000 Received: (qmail 5835 invoked by uid 97); 24 Apr 2002 02:06:57 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 5816 invoked by uid 97); 24 Apr 2002 02:06:57 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 5803 invoked by uid 50); 24 Apr 2002 02:06:56 -0000 Date: 24 Apr 2002 02:06:56 -0000 Message-ID: <20020424020656.5802.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 8359] - Exec task seems to disregard quotes and apostrophes in arg attribute values. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8359 Exec task seems to disregard quotes and apostrophes in arg attribute values. ------- Additional Comments From holtdl@yahoo.com 2002-04-24 02:06 ------- I'm also running on an NT, with Cygwin -- is that what you have? You said when you run the 'find' directly on the box, it runs okay, so I assume you've got some kind of Unix-type shell, yes? But given the error message you got, it looks like the 'find' that got executed from Ant was the DOS one -- are you running Ant from a DOS window? As for the -verbose output -- don't believe it. Just because you can't see the quotes in that output doesn't mean the shell didn't get passed the right thing (which it did, since all those examples work for me). So you might want to try your original one again, changing: to and see if it does work for you. Otherwise, since your workaround is pretty yuck, wouldn't it be better to just put it in a script and that? BTW: Thanks for mentioning escaping an asterisk -- I hadn't thought of doing that, but I just tried adding -name "\*.java" to my and it worked. (Cool) -- To unsubscribe, e-mail: For additional commands, e-mail: