Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 40930 invoked from network); 1 May 2009 16:24:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 May 2009 16:24:29 -0000 Received: (qmail 25655 invoked by uid 500); 1 May 2009 16:24:29 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 25628 invoked by uid 500); 1 May 2009 16:24:29 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 25619 invoked by uid 99); 1 May 2009 16:24:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 16:24:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 16:24:27 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 33790234C04B; Fri, 1 May 2009 09:24:06 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 47135] New: Problem with quotes in environment variable used in path-like structure. X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core tasks X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dennis_brake@excite.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 1 May 2009 09:24:06 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47135 Summary: Problem with quotes in environment variable used in path-like structure. Product: Ant Version: 1.7.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: notifications@ant.apache.org ReportedBy: dennis_brake@excite.com When using an environment variable to specify a directory that requires quotes, the path is processed wrong. For example, using the following build.xml file: if we get an error using: C:\test\ESII\Spiral-2>set AXIS2_HOME="\javaapps\axis2-1.4.1" C:\test\ESII\Spiral-2>ant showClasspath Buildfile: build.xml showClasspath: [echo] Axis2: "\javaapps\axis2-1.4.1"/lib BUILD FAILED C:\test\ESII\Spiral-2\build.xml:14: C:\test\ESII\Spiral-2\"\javaapps\axis2-1.4.1 "\lib not found. Total time: 0 seconds However, the following works: C:\test\ESII\Spiral-2>set AXIS2_HOME=\javaapps\axis2-1.4.1 C:\test\ESII\Spiral-2>ant showClasspath Buildfile: build.xml showClasspath: [echo] Axis2: \javaapps\axis2-1.4.1/lib [echo] C:\javaapps\axis2-1.4.1\lib\axis2-kernel-1.4.1.jar BUILD SUCCESSFUL Total time: 0 seconds Now the above didn't require quotes but if the path name had embedded spaces they would be required. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.