ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ray...@inovera.ca
Subject Using regexp in ant
Date Mon, 05 Nov 2001 22:38:11 GMT
Hi,

I've been trying to use regexp for the file mapper functionality in ant.
I'm having problems setting up a RegexpMatcher.  Everytime I run ant, I get
a build failure with the following message:

build.xml:23: No supported regular expression matcher found
     at org.apache.tools.ant.util.regexp.RegexpMatcherFactory.newRegexpMatcher(RegexpMatcherFactory.java:94)
     at org.apache.tools.ant.util.RegexpPatternMapper.<init>(RegexpPatternMapper.java:76)
     at java.lang.Class.newInstance0(Native Method)
     at java.lang.Class.newInstance(Class.java:237)
     at org.apache.tools.ant.types.Mapper.getImplementation(Mapper.java:209)
     at org.apache.tools.ant.taskdefs.ExecuteOn.checkConfiguration(ExecuteOn.java:183)
     at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:175)
     at org.apache.tools.ant.Task.perform(Task.java:217)
     at org.apache.tools.ant.Target.execute(Target.java:184)
     at org.apache.tools.ant.Target.performTasks(Target.java:202)
     at org.apache.tools.ant.Project.executeTarget(Project.java:601)
     at org.apache.tools.ant.Project.executeTargets(Project.java:560)
     at org.apache.tools.ant.Main.runBuild(Main.java:454)
     at org.apache.tools.ant.Main.start(Main.java:153)
     at org.apache.tools.ant.Main.main(Main.java:176)

What do I have to do get have ant find the regexp matcher?  I've already set the ant.regexp.matcherimpl
property to JakartaRegexpMatcher by using the
following line in build.xml:
<property name="ant.regexp.matcher" value="JakartaRegexpMatcher"/>

What else do I have to do?

Thanks,
Ray


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


Mime
View raw message