Building visage fails with “No supported regular expression match”
Question
When building visage
from source using ant-1.7
on ubuntu
it fails with the message
build.xml:52: No supported regular expression matcher found: java.lang.ClassNotFoundException: org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp
How do I solve this ?
La solution
The regular expression matcher is found in the ant-optional
package for Ubuntu
, and installing that solves the problem.
sudo apt-get install ant-optional
Autres conseils
FYI in Centos the package name is ant-apache-regexp
yum install ant-apache-regexp
For suse 11 it is little bit longer
1.what is your ant exact version ? in my case it was 1.7.0
- download the rpm : in my case the package name was ant-apache-regexp-1.7.0-200.2.noarch.rpm
execute the following
rpm -i ant-apache-regexp-1.7.0-200.2.noarch.rpm
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow