Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 74730 invoked from network); 21 Oct 2005 13:29:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 13:29:12 -0000 Received: (qmail 41205 invoked by uid 500); 21 Oct 2005 13:29:06 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 41163 invoked by uid 500); 21 Oct 2005 13:29:05 -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 41152 invoked by uid 99); 21 Oct 2005 13:29:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 06:29:05 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2005 06:29:04 -0700 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id j9LDS6XF022676 for ; Fri, 21 Oct 2005 15:28:07 +0200 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Fri, 21 Oct 2005 15:28:08 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: AW: Issue using ReplaceRegExp Date: Fri, 21 Oct 2005 15:28:08 +0200 Message-ID: <3CD9A35A043C094EA8773DBB698E801B0376D2B4@z011134.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Issue using ReplaceRegExp Thread-Index: AcXVgVq6XfHPXD8eRrqcpRKIxgCnQgAvxD7wAACRO8A= From: To: X-OriginalArrivalTime: 21 Oct 2005 13:28:08.0864 (UTC) FILETIME=[46C8BA00:01C5D643] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Regexp could something around /.*parts created: (.*)$/\1 But the "No supported regular expression matcher found" error message is = more important. The matcher is part of JDK 1.4+, but because Ant is designed to run on = JDK 1.2+ we have a word on library depenencies in the manual. Jan =20 >-----Urspr=FCngliche Nachricht----- >Von: pritesh.saharey@wipro.com [mailto:pritesh.saharey@wipro.com]=20 >Gesendet: Freitag, 21. Oktober 2005 15:09 >An: user@ant.apache.org >Betreff: Issue using ReplaceRegExp > > >Hi All, > I am trying to use ReplaceRegExp but finding it=20 >difficult to cope with it. > > There is a log.txt file generated from my build.xml=20 >using record task which looks like this; > log.txt > ------- > [java] Done! > [java] > > [java] bytes read: 111059499 > [java] bytes written: 111059499 > [java] parts created: 11 > [java] time used: 46.562 sec. > > > Now I wanted to use the value of "parts created" which is "11" >but I am not able to use ReplaceRegExp properly > > It is giving me error message: > > > No supported regular expression matcher found > > I am using jdk1.3.1_11 > > > I noticed one thing before [java] text there are 5spaces > > The whole idea is that I wanted to use this log.txt=20 >file as a property file, which I am unable to, and as a > > Experiment I have done something like this in my build.xml file > > > > match=3D"[java]" > replace=3D"\0${insert}" > byline=3D"true"> > > > > If I want to use this log.txt file as a property file=20 >than I think I have to replace the strings till : (colon) > > Can anyone help me out? > > Wishes > Pritesh > > > >Confidentiality Notice > > >The information contained in this electronic message and any=20 >attachments to this message are intended for the exclusive use=20 >of the addressee(s) and may contain confidential or privileged=20 >information. If you are not the intended recipient, please=20 >notify the sender at Wipro or Mailadmin@wipro.com immediately=20 >and destroy all copies of this message and any attachments. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 >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