You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David J Iannucci <dj...@myriad.com> on 2001/03/08 01:21:33 UTC

Re: mapper type="regexp" doesn't work (was: Can't find task)

Peter Donald wrote:
> Are the regexp jars in your classpath?

OK, so after the second person wrote exactly the same
thing, I started thinking :-) and cruising around the
documentation again... and stumbled upon a different
place in the documentation that said what and where
the jars were that are needed for this purpose.

So I downloaded the right one, put it in my classpath,
and bingo, it works.

Folks, I'd call this a "failure of documentation".
Looking only at the documentation for <mapper> was
not enough to tell me what I needed to know.  In fact
it even says that "Ant comes with implementations for
jakarta-regexp and jakarta-ORO," which leads me to
believe that everything I need is already included
in the ant tarball, so of course I don't think I need
to go looking for something other than what I've
already got.

Oh well... that's life I guess :-)
Thanks again to those who responded.

Dave

Re: mapper type="regexp" doesn't work (was: Can't find task)

Posted by Glenn McAllister <gl...@somanetworks.com>.
David J Iannucci wrote:

> Peter Donald wrote:
> > Are the regexp jars in your classpath?
>
> OK, so after the second person wrote exactly the same
> thing, I started thinking :-)

Happens to the best of us. :-)

> and cruising around the
> documentation again... and stumbled upon a different
> place in the documentation that said what and where
> the jars were that are needed for this purpose.

> Folks, I'd call this a "failure of documentation".
> Looking only at the documentation for <mapper> was
> not enough to tell me what I needed to know.  In fact
> it even says that "Ant comes with implementations for
> jakarta-regexp and jakarta-ORO," which leads me to
> believe that everything I need is already included
> in the ant tarball, so of course I don't think I need
> to go looking for something other than what I've
> already got.

Thats a fair point.  Care to contribute a patch to the docs to fix it?
:-)

Glenn

RE: mapper type="regexp" doesn't work (was: Can't find task)

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Dave,

> -----Original Message-----
> 
> Folks, I'd call this a "failure of documentation".
> Looking only at the documentation for <mapper> was
> not enough to tell me what I needed to know.  

You should raise a documentation bug.

Conor