From user-return-71982-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Oct 25 14:08:02 2011 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 646929997 for ; Tue, 25 Oct 2011 14:08:02 +0000 (UTC) Received: (qmail 82271 invoked by uid 500); 25 Oct 2011 14:08:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 82237 invoked by uid 500); 25 Oct 2011 14:08:01 -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 82228 invoked by uid 99); 25 Oct 2011 14:08:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 14:08:01 +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 (nike.apache.org: domain of sfloess@nc.rr.com designates 75.180.132.123 as permitted sender) Received: from [75.180.132.123] (HELO cdptpa-omtalb.mail.rr.com) (75.180.132.123) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 14:07:54 +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=A9PDZihtWFfCFhUtaLIA:9 a=NZU51ys_R29Y9SbafRcA:7 a=CjuIK1q_8ugA:10 a=rP1XQRnFLqQA:10 a=2fPOlPt4dusA:10 a=gykjJZTUHnAhHSXPG7EaJg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 76.182.110.11 Received: from [76.182.110.11] ([76.182.110.11:40009] helo=flossware.homelinux.org) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 4C/86-15901-5A2C6AE4; Tue, 25 Oct 2011 14:07:33 +0000 Received: from centos-workstation.flossware.com (centos-workstation.flossware.com [192.168.168.250]) by flossware.homelinux.org (Postfix) with ESMTP id 226C0D001E4 for ; Tue, 25 Oct 2011 10:07:33 -0400 (EDT) Date: Tue, 25 Oct 2011 10:07:33 -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: <1319530512048-4935408.post@n5.nabble.com> 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 X-Virus-Checked: Checked by ClamAV on apache.org Try this: 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