Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7AFA9AEF for ; Tue, 25 Oct 2011 14:09:57 +0000 (UTC) Received: (qmail 87732 invoked by uid 500); 25 Oct 2011 14:09:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 87682 invoked by uid 500); 25 Oct 2011 14:09:57 -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 87674 invoked by uid 99); 25 Oct 2011 14:09:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 14:09:57 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sfloess@nc.rr.com designates 75.180.132.122 as permitted sender) Received: from [75.180.132.122] (HELO cdptpa-omtalb.mail.rr.com) (75.180.132.122) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 14:09:51 +0000 X-Authority-Analysis: v=2.0 cv=TqhkdUrh c=1 sm=0 a=gykjJZTUHnAhHSXPG7EaJg==:17 a=8MN4lfJQaL4A:10 a=HrfnY14HgUoA:10 a=kj9zAlcOel0A:10 a=9I5xiGouAAAA:8 a=mV9VRH-2AAAA:8 a=FP58Ms26AAAA:8 a=NEAV23lmAAAA:8 a=LQbVy2ot0UT66Eqa9rUA:9 a=oqlfMUlj4OQTJEZTfFkA:7 a=CjuIK1q_8ugA:10 a=rP1XQRnFLqQA:10 a=2fPOlPt4dusA:10 a=QdNHKk8rrkkOG1Ze:21 a=t4iDusU7S86dpkJp:21 a=gykjJZTUHnAhHSXPG7EaJg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 76.182.110.11 Received: from [76.182.110.11] ([76.182.110.11:40010] helo=flossware.homelinux.org) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id C1/68-15901-913C6AE4; Tue, 25 Oct 2011 14:09:29 +0000 Received: from centos-workstation.flossware.com (centos-workstation.flossware.com [192.168.168.250]) by flossware.homelinux.org (Postfix) with ESMTP id 8FC8DD001E4 for ; Tue, 25 Oct 2011 10:09:29 -0400 (EDT) Date: Tue, 25 Oct 2011 10:09:29 -0400 (EDT) From: "Scot P. Floess" X-X-Sender: sfloess@centos-workstation.flossware.com To: Ant Users List Subject: Re: problem using "" when using with DIRECTORY location In-Reply-To: Message-ID: References: <1319530512048-4935408.post@n5.nabble.com> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sorry no trailing 'D': On Tue, 25 Oct 2011, Scot P. Floess wrote: > > Try this: > > replace="TEST_DIR=C:\\\\home\\\\dir2" byline="true" />D > > > > On Tue, 25 Oct 2011, himanshu wrote: > >> hi, >>
>> i am having trouble in doing this.. >> there is 1 batch file(MY_FILE) with this line in it.. >>
>> *set TEST_DIR=C:\temp\dir1* >>
>> i just want to set some new value to *TEST_DIR* >>
>> but when i use in my ant script..it escapes forward >> slashes.. and gives this result >>
>> *set TEST_DIR=C:homedir2* >>
>> but correct value should be as below >>
>> *set TEST_DIR=C:\home\dir2* >>
>> .. i am using this command in my ant build file.. >> >> >> " >> >> > replace="TEST_DIR=C:\home\dir2" byline="true" /> >> " >> >> .. >> >> ..PLZ help >> >> -- >> View this message in context: >> http://ant.1045680.n5.nabble.com/problem-using-replaceregexp-when-using-with-DIRECTORY-location-tp4935408p4935408.html >> Sent from the Ant - Users mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >> >> > > Scot P. Floess RHCT (Certificate Number 605010084735240) > Chief Architect FlossWare http://sourceforge.net/projects/flossware > http://flossware.sourceforge.net > https://github.com/organizations/FlossWare > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > Scot P. Floess RHCT (Certificate Number 605010084735240) Chief Architect FlossWare http://sourceforge.net/projects/flossware http://flossware.sourceforge.net https://github.com/organizations/FlossWare --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org