You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Peter Donald <do...@apache.org> on 2001/03/08 00:27:30 UTC
Re: mapper type="regexp" doesn't work (was: Can't find
task)
At 03:14 7/3/01 -0700, David J Iannucci wrote:
>with no luck. Look, I've read the docs. And I realize you all can't
>see
>precisely what I'm doing, but I don't think I've missed anything major
>here.
>Why is this not working?
Are the regexp jars in your classpath?
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*
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
Re: mapper type="regexp" doesn't work (was: Can't find task)
Posted by David J Iannucci <dj...@myriad.com>.
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