Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 72281 invoked from network); 31 Mar 2004 17:20:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Mar 2004 17:20:43 -0000 Received: (qmail 34164 invoked by uid 500); 31 Mar 2004 17:20:34 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 34125 invoked by uid 500); 31 Mar 2004 17:20:34 -0000 Mailing-List: contact dev-help@ant.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 dev@ant.apache.org Received: (qmail 34111 invoked from network); 31 Mar 2004 17:20:34 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 31 Mar 2004 17:20:34 -0000 Received: (qmail 27774 invoked by uid 50); 31 Mar 2004 17:21:16 -0000 Date: 31 Mar 2004 17:21:16 -0000 Message-ID: <20040331172116.27773.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 28099] New: - junit problem with quotes in path X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.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://issues.apache.org/bugzilla/show_bug.cgi?id=28099 junit problem with quotes in path Summary: junit problem with quotes in path Product: Ant Version: 1.6.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: jacarpenter@ercot.com The junit task appears to have a problem whenever the %PATH% variable contains an element enclosed in quotes. ex: PATH=C:\somedir\someutility;"C:\someother\path";C:\yet\another\path The java command line calls formed by the junit task appear to mess up the value of the java.library.path system property. The problem appears to be close to where the value of the dir attribute of the junit task is inserted into the java.library.path value. (Not sure about the last part, the problem has rolled out of my screen buffer and I'm short on time.) The relevant snipts from my build file are below. I believe one could emulate the problem in the following situation: 1) junit nested batchtest forks 2) junit dir attribute is set 3) java.library.path system property is set 4) PATH environment variable contains something in quotes. I doubt all of this is necessary to duplicate the bug. Unfortuantely, I don't have the time to debug this and submit a patch. For now I just made sure I didn't have any quoted elements in my PATH. ===== Build file snipts: ===== --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org