[Bug 172789] Re: ant finds no supported regular expression matcher
matthew day
matthew.scott.day at gmail.com
Mon Nov 5 07:58:41 UTC 2012
Though this is closed, what solved it for me in centos / fedora was:
yum install ant-apache-regexp
hope that helps someone, for me it was just beneficial doing yum search
ant | grep -i optional
and since none of the repos i have (rpmfusion for instance) have a ant-
optional package: you can pick and choose what you actually need for
your project.
for me, the current list I get (11/04/2012)
[root at work cave]# yum search ant | grep Optional
ant-antlr.i686 : Optional antlr tasks for ant
ant-apache-bcel.i686 : Optional apache bcel tasks for ant
ant-apache-bsf.i686 : Optional apache bsf tasks for ant
ant-apache-log4j.i686 : Optional apache log4j tasks for ant
ant-apache-oro.i686 : Optional apache oro tasks for ant
ant-apache-regexp.i686 : Optional apache regexp tasks for ant
ant-apache-resolver.i686 : Optional apache resolver tasks for ant
ant-commons-logging.i686 : Optional commons logging tasks for ant
ant-commons-net.i686 : Optional commons net tasks for ant
ant-javamail.i686 : Optional javamail tasks for ant
ant-jdepend.i686 : Optional jdepend tasks for ant
ant-jmf.i686 : Optional jmf tasks for ant
ant-jsch.i686 : Optional jsch tasks for ant
ant-junit.i686 : Optional junit tasks for ant
ant-nodeps.i686 : Optional tasks for ant
ant-swing.i686 : Optional swing tasks for ant
ant-trax.i686 : Optional trax tasks for ant
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ant in Ubuntu.
https://bugs.launchpad.net/bugs/172789
Title:
ant finds no supported regular expression matcher
Status in “ant” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: ant
I have a <filterchain> that looks like
<filterchain>
<tailfilter lines="-1" skip="1" />
<tokenfilter>
<filetokenizer/>
<replaceregex pattern="(characterSet name=.Extended Latin .ANSEL..+?>)"
flags="s"
replace="\1<code><marc>95</marc><ucs>95</ucs></code><code><marc>96</marc><ucs>96</ucs><$
</tokenfilter>
</filterchain>
which fails build with the output
"No supported regular expression matcher found: java.lang.ClassNotFoundException: org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp"
using the ant 1.7.0-3 ubuntu package
However, downloading ant 1.7.0 from http://ant.apache.org/ and doing a
manual install in ~/lib works like a charm. Perhaps an issue with the
default classpath?
I am using java-1.5.0-sun installed with Synaptic.
Best Regards,
Thomas
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ant/+bug/172789/+subscriptions
More information about the foundations-bugs
mailing list