You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Charles Daniels <cj...@yahoo.com> on 2004/09/17 14:34:55 UTC

No supported regular expression matcher found

Hi All,

I am trying to use the regexp matcher within the ant:copy task, but get the
message "No supported regular expression matcher found".  I have tried
adding the following dependency to my dependencies list:

    <dependency>
      <groupId>regexp</groupId>
      <artifactId>regexp</artifactId>
      <version>1.3</version>
    </dependency>

However, this doesn't help.  I've also tried it with
<classloader>root</classloader>, but that doesn't work either.  I searched
the archives, but couldn't find any postings regarding this issue.  Does
anybody know how to get the regexp mapper to see the regexp library using
JDK 1.3?  (Note: If I use JDK 1.4, there's no problem.  However, I need this
to work with JDK 1.3).

Thanks,
Chuck


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: No supported regular expression matcher found

Posted by Brett Porter <br...@gmail.com>.
It's really more discouraged than deprecated. Unfortunately, there are
few if any alternatives when it comes to ant tasks.

If there is a way to pass a custom <classpath> element, that is always
recommended.

- Brett

(Chuck - sorry you'll get this twice. gmail recently changed something
and I always get ML replies as to the list and to me, and the reply
button then becomes private. ARGH).

On Thu, 23 Sep 2004 20:40:16 -0400, Charles Daniels <cj...@yahoo.com> wrote:
> Hi Brett,
> 
> Yes, it's a regexp that Ant is looking for.  I'm using the regexp mapper in
> a copy task.
> 
> Thank you for the answer!  I was not placing the classloader element within
> a properties element.  Doing so fixed the problem.  Out of curiosity, how
> will this be handled in the future since doing this is a deprecated
> technique (I think)?
> 
> Thanks again,
> Chuck
> 
> 
> 
> > -----Original Message-----
> > From: Brett Porter [mailto:brett.porter@gmail.com]
> > Sent: Thursday, September 23, 2004 7:08 PM
> > To: Maven Users List
> > Subject: Re: No supported regular expression matcher found
> >
> >
> > is that one of the JARs that provides a regexp to Ant?
> >
> > When you added the classloader, was it inside a <properties/> element?
> >
> >
> > On Thu, 23 Sep 2004 12:55:57 -0400, Charles Daniels
> > <cj...@yahoo.com> wrote:
> > > Anybody have any suggestions on this?
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Charles Daniels [mailto:cjd4@yahoo.com]
> > > > Sent: Friday, September 17, 2004 8:35 AM
> > > > To: Maven Users List
> > > > Subject: No supported regular expression matcher found
> > > >
> > > >
> > > > Hi All,
> > > >
> > > > I am trying to use the regexp matcher within the ant:copy task,
> > > > but get the
> > > > message "No supported regular expression matcher found".  I have tried
> > > > adding the following dependency to my dependencies list:
> > > >
> > > >     <dependency>
> > > >       <groupId>regexp</groupId>
> > > >       <artifactId>regexp</artifactId>
> > > >       <version>1.3</version>
> > > >     </dependency>
> > > >
> > > > However, this doesn't help.  I've also tried it with
> > > > <classloader>root</classloader>, but that doesn't work
> > either.  I searched
> > > > the archives, but couldn't find any postings regarding this
> > issue.  Does
> > > > anybody know how to get the regexp mapper to see the regexp
> > library using
> > > > JDK 1.3?  (Note: If I use JDK 1.4, there's no problem.  However,
> > > > I need this
> > > > to work with JDK 1.3).
> > > >
> > > > Thanks,
> > > > Chuck
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> 
> 
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: No supported regular expression matcher found

Posted by Charles Daniels <cj...@yahoo.com>.
Hi Brett,

Yes, it's a regexp that Ant is looking for.  I'm using the regexp mapper in
a copy task.

Thank you for the answer!  I was not placing the classloader element within
a properties element.  Doing so fixed the problem.  Out of curiosity, how
will this be handled in the future since doing this is a deprecated
technique (I think)?

Thanks again,
Chuck

> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com]
> Sent: Thursday, September 23, 2004 7:08 PM
> To: Maven Users List
> Subject: Re: No supported regular expression matcher found
>
>
> is that one of the JARs that provides a regexp to Ant?
>
> When you added the classloader, was it inside a <properties/> element?
>
>
> On Thu, 23 Sep 2004 12:55:57 -0400, Charles Daniels
> <cj...@yahoo.com> wrote:
> > Anybody have any suggestions on this?
> >
> >
> >
> > > -----Original Message-----
> > > From: Charles Daniels [mailto:cjd4@yahoo.com]
> > > Sent: Friday, September 17, 2004 8:35 AM
> > > To: Maven Users List
> > > Subject: No supported regular expression matcher found
> > >
> > >
> > > Hi All,
> > >
> > > I am trying to use the regexp matcher within the ant:copy task,
> > > but get the
> > > message "No supported regular expression matcher found".  I have tried
> > > adding the following dependency to my dependencies list:
> > >
> > >     <dependency>
> > >       <groupId>regexp</groupId>
> > >       <artifactId>regexp</artifactId>
> > >       <version>1.3</version>
> > >     </dependency>
> > >
> > > However, this doesn't help.  I've also tried it with
> > > <classloader>root</classloader>, but that doesn't work
> either.  I searched
> > > the archives, but couldn't find any postings regarding this
> issue.  Does
> > > anybody know how to get the regexp mapper to see the regexp
> library using
> > > JDK 1.3?  (Note: If I use JDK 1.4, there's no problem.  However,
> > > I need this
> > > to work with JDK 1.3).
> > >
> > > Thanks,
> > > Chuck
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: No supported regular expression matcher found

Posted by Brett Porter <br...@gmail.com>.
is that one of the JARs that provides a regexp to Ant?

When you added the classloader, was it inside a <properties/> element?


On Thu, 23 Sep 2004 12:55:57 -0400, Charles Daniels <cj...@yahoo.com> wrote:
> Anybody have any suggestions on this?
> 
> 
> 
> > -----Original Message-----
> > From: Charles Daniels [mailto:cjd4@yahoo.com]
> > Sent: Friday, September 17, 2004 8:35 AM
> > To: Maven Users List
> > Subject: No supported regular expression matcher found
> >
> >
> > Hi All,
> >
> > I am trying to use the regexp matcher within the ant:copy task,
> > but get the
> > message "No supported regular expression matcher found".  I have tried
> > adding the following dependency to my dependencies list:
> >
> >     <dependency>
> >       <groupId>regexp</groupId>
> >       <artifactId>regexp</artifactId>
> >       <version>1.3</version>
> >     </dependency>
> >
> > However, this doesn't help.  I've also tried it with
> > <classloader>root</classloader>, but that doesn't work either.  I searched
> > the archives, but couldn't find any postings regarding this issue.  Does
> > anybody know how to get the regexp mapper to see the regexp library using
> > JDK 1.3?  (Note: If I use JDK 1.4, there's no problem.  However,
> > I need this
> > to work with JDK 1.3).
> >
> > Thanks,
> > Chuck
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: No supported regular expression matcher found

Posted by Charles Daniels <cj...@yahoo.com>.
Anybody have any suggestions on this?

> -----Original Message-----
> From: Charles Daniels [mailto:cjd4@yahoo.com]
> Sent: Friday, September 17, 2004 8:35 AM
> To: Maven Users List
> Subject: No supported regular expression matcher found
>
>
> Hi All,
>
> I am trying to use the regexp matcher within the ant:copy task,
> but get the
> message "No supported regular expression matcher found".  I have tried
> adding the following dependency to my dependencies list:
>
>     <dependency>
>       <groupId>regexp</groupId>
>       <artifactId>regexp</artifactId>
>       <version>1.3</version>
>     </dependency>
>
> However, this doesn't help.  I've also tried it with
> <classloader>root</classloader>, but that doesn't work either.  I searched
> the archives, but couldn't find any postings regarding this issue.  Does
> anybody know how to get the regexp mapper to see the regexp library using
> JDK 1.3?  (Note: If I use JDK 1.4, there's no problem.  However,
> I need this
> to work with JDK 1.3).
>
> Thanks,
> Chuck
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org