ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Inger, Matthew" <In...@Synygy.com>
Subject RE: No supported regular expression matcher found
Date Wed, 04 Aug 2004 19:16:59 GMT
put either oro or jakarta-regexp jar file in your
classpath.

-----Original Message-----
From: Khehra, Sukh [mailto:Sukh.Khehra@wsj.com]
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

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


Mime
View raw message