Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 77898 invoked from network); 26 Mar 2008 10:24:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2008 10:24:13 -0000 Received: (qmail 67395 invoked by uid 500); 26 Mar 2008 10:24:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67363 invoked by uid 500); 26 Mar 2008 10:24:08 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 67352 invoked by uid 99); 26 Mar 2008 10:24:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 03:24:08 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rishi_gogia@hotmail.com designates 65.54.246.176 as permitted sender) Received: from [65.54.246.176] (HELO bay0-omc2-s40.bay0.hotmail.com) (65.54.246.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 10:23:27 +0000 Received: from BAY107-DS1 ([64.4.51.90]) by bay0-omc2-s40.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Mar 2008 03:23:38 -0700 X-Originating-IP: [202.144.61.68] X-Originating-Email: [rishi_gogia@hotmail.com] Message-ID: In-Reply-To: <16181099.post@talk.nabble.com> <47E28693.6050505@mindspring.com> <16184205.post@talk.nabble.com> <47E29C7F.10205@mindspring.com> <16193121.post@talk.nabble.com> <47E3D2A9.1090001@mindspring.com> <47E92778.40907@apache.org> <200803260946.m2Q9k4qf026400@ha-node-br2.hpl.hp.com> From: "Rishi Gogia" To: "Ant Users List" X-Unsent: 1 References: <16181099.post@talk.nabble.com> <47E28693.6050505@mindspring.com> <16184205.post@talk.nabble.com> <47E29C7F.10205@mindspring.com> <16193121.post@talk.nabble.com> <47E3D2A9.1090001@mindspring.com> <47E92778.40907@apache.org> <200803260946.m2Q9k4qf026400@ha-node-br2.hpl.hp.com> Subject: Re: ant sql doesn't recognize the database server name with back slash? Date: Wed, 26 Mar 2008 15:53:34 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-OriginalArrivalTime: 26 Mar 2008 10:23:38.0821 (UTC) FILETIME=[74EE7750:01C88F2B] X-Virus-Checked: Checked by ClamAV on apache.org so Steve you mean that for picking up the addresses for a local Windows machine, we can just give the path with single backward slash? (like D:\temp\ant) and it will work? -------------------------------------------------- From: "Steve Loughran" Sent: Wednesday, March 26, 2008 3:15 PM To: "Ant Users List" Subject: Re: ant sql doesn't recognize the database server name with back slash? > Rishi Gogia wrote: >> in case of a unix env, URL should be used with forward slashes ('/') >> instead of backslashes >> >> and in case any string needs to be used backslashes, they need to >> accompany another backslash. this is because backslash acts as a escape >> sequence character (remember \n) >> >> so to avoid such a situation, use "\\". the ant interpreter will >> interpret the same as a single "\" and the task will be accomplished > > Normally Ant doesn't do that. There are special rules when working with > regexp stuff, but there its the java.utils.regex package at work. > > -steve > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org