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 7DF62928F for ; Tue, 25 Oct 2011 08:48:38 +0000 (UTC) Received: (qmail 63632 invoked by uid 500); 25 Oct 2011 08:47:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 61138 invoked by uid 500); 25 Oct 2011 08:47:25 -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 60377 invoked by uid 99); 25 Oct 2011 08:46:44 -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 08:46:44 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of mertia.himanshu@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 08:46:39 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RIceI-000279-Mf for user@ant.apache.org; Tue, 25 Oct 2011 01:46:18 -0700 Date: Tue, 25 Oct 2011 01:46:18 -0700 (PDT) From: himanshu To: user@ant.apache.org Message-ID: <1319532378692-4935484.post@n5.nabble.com> Subject: Having trouble using replaceregexp with DIR locations as string to replace MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.. " " .. ..PLZ help -- View this message in context: http://ant.1045680.n5.nabble.com/Having-trouble-using-replaceregexp-with-DIR-locations-as-string-to-replace-tp4935484p4935484.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