[Bug 172789] Re: ant finds no supported regular expression matcher

cforce 172789 at bugs.launchpad.net
Fri Dec 7 14:16:56 UTC 2012


sles and openuse

sudo zypper install ant-apache-regexp

-- 
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>&lt$
                  </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