ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khehra, Sukh" <Sukh.Khe...@wsj.com>
Subject RE: No supported regular expression matcher found
Date Wed, 04 Aug 2004 17:56:18 GMT
strange, i downloaded jakarta-oro-2.0.8.jar from http://jakarta.apache.org/oro/ into my lib
directory and everything works fine. what does the ant-jakarta-oro.jar that came wirh ant
1.6.1 dist do then?

-----Original Message-----
From: Khehra, Sukh 
Sent: Wednesday, August 04, 2004 12:46 PM
To: 'Ant Users List'
Subject: RE: No supported regular expression matcher found


help please. i need to use the ReplaceRegExp task without having to use JDK 1.4. any ideas
how i can do this?

thanks,
sukh

-----Original Message-----
From: Khehra, Sukh 
Sent: Monday, July 26, 2004 3:00 PM
To: 'Ant Users List'
Subject: No supported regular expression matcher found


Why do i keep getting this error?

<path>/build.xml:14: Following error occured while executing this line
<path>/build.xml:19: Following error occured while executing this line
<path>/build.xml:47: Following error occured while executing this line
<path>/build.xml:55: Following error occured while executing this line
<path>/build.xml:209: Following error occured while executing this line
<path>/build.xml:269: No supported regular expression matcher found


i have my ANT_HOME var set up correctly and i even tried setting up the following property
in my build.xml.

<property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.JakartaOroRegexp"/>


the offending code in build.xml, it seems, is


<filterchain>
   <tokenfilter>
         <filetokenizer/>
         <replaceregex pattern="@PROD@" flags="s" replace=""/>
         <replaceregex pattern="([\n\r])\s*@QA@[^\n\r]*[\n\r]" flags="s" replace="\1"/>
                       
         <replaceregex pattern="([\n\r])\s*@DEV@[^\n\r]*[\n\r]" flags="s" replace="\1"/>
         <replaceregex pattern="([\n\r])\s*@TEST@[^\n\r]*[\n\r]" flags="s" replace="\1"/>
                       
   </tokenfilter>
</filterchain>


i'd appreciate the help.

-sukh

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message