You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Benjamin Podszun <be...@galactic-tales.de> on 2006/01/23 18:36:33 UTC
No supported regular expression matcher found
Hi there.
I'm using the propertyregex task - or at least I'd love to. I get the
exception given in the message subject when I try to run ant with my
buildfile.
I'm using java 1.5 and rely on regexps quite heavily.. Since the
platform supports them: What's the dependency here? Checking google
made me download the latest jar from jakarta-oro, but neither putting
it in my projects library dir nor in the ${ant.home}/lib directory
resolved this issue.
Can anyone provice some insight? Thanks in advance,
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: No supported regular expression matcher found
Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hello Benjamin,
I did not look into the source code of the propertyregex task (from
ant-contrib), but if it behaves like other regular expression based ant
tasks,
maybe it uses the same mechanism like ant to find out a regular
expression implementation.
The property |ant.regexp.regexpimpl| governs which regular expression
implementation will be chosen. Possible values for this property are :
* org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp
* org.apache.tools.ant.util.regexp.JakartaOroRegexp
* org.apache.tools.ant.util.regexp.JakartaRegexpRegexp
http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html
Cheers,
Antoine
Benjamin Podszun wrote:
> Hi there.
>
> I'm using the propertyregex task - or at least I'd love to. I get the
> exception given in the message subject when I try to run ant with my
> buildfile.
> I'm using java 1.5 and rely on regexps quite heavily.. Since the
> platform supports them: What's the dependency here? Checking google
> made me download the latest jar from jakarta-oro, but neither putting
> it in my projects library dir nor in the ${ant.home}/lib directory
> resolved this issue.
> Can anyone provice some insight? Thanks in advance,
>
> Ben
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org