Building render failed with "No Regular Expression Supported"

When building visage from source using ant-1.7 on ubuntu it crashes with a message

 build.xml:52: No supported regular expression matcher found: java.lang.ClassNotFoundException: org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp 

How to solve this?

+6
source share
3 answers

The regex tool is found in the ant-optional package for Ubuntu and an installation that solves the problem.

sudo apt-get install ant-optional

+15
source

FYI on Centos package name ant -apache-regexp

 yum install ant-apache-regexp 
+8
source

For suse 11 it's a little longer

1. What is your exact version of ant? in my case it was 1.7.0

  • download rpm: in my case the package name was ant -apache-regexp-1.7.0-200.2.noarch.rpm
  • follow these

    rpm -i ant -apache-regexp-1.7.0-200.2.noarch.rpm

0
source

Source: https://habr.com/ru/post/924641/


All Articles