No regular expresson matcher found

In trying to run the demos, I get the above error on both SuSE 10.1 and Fedora Core 5 with similar installations of Ant and JasperReports. After Googling, I downloaded some jakarta regexp JARs and put them in twenty or so different folders before giving up...I always get the same erroron "ant compile" or similar: "No regular expression matcher found".

What am I doing wrong? Where do they go?
gfb9a3ab's picture
Joined: Aug 15 2006 - 5:09am
Last seen: 16 years 7 months ago

3 Answers:

What version of JDK are you using? Starting with JDK 1.4 you have built-in support for regular expressions

Ionut
ionutned's picture
367
Joined: Jul 17 2006 - 12:17am
Last seen: 16 years 8 months ago
Both servers are running 1.5 ... Any other ideas?
gfb9a3ab's picture
Joined: Aug 15 2006 - 5:09am
Last seen: 16 years 7 months ago
Nevermind...I figured it out. As it turns out, many new versions of Linux (and coincidentally, both SuSE 10.1 and Core 5) include with their default installation of ant a file /etc/ant.conf and a directory /etc/ant.d . I moved both of those to append their names with ".old" and re-initiated my session...not my Ant 1.6 installation is used.

It tricks ya, you see? I'm pretty sure the conf file re-establishes my ANT_HOME to a directory I didn't want it to use. It only took me a week...but I figured it out.

Thanks.
gfb9a3ab's picture
Joined: Aug 15 2006 - 5:09am
Last seen: 16 years 7 months ago
Feedback
randomness