I think it might be worthwhile to stick a line in there saying something to the effect of "copy a X-regEx.jar impl into your ant lib dir. On a related note, I wonder if it wouldn't be worthwhile to compile an "error library". Basically just a hash of common errors to their possible solutions (given that any one error message might have a number root causes). Todd ----- Original Message ----- From: "Stefan Bodewig" To: Sent: Tuesday, November 06, 2001 4:01 AM Subject: Re: Using regexp in ant > On Mon, 5 Nov 2001, ray au wrote: > > > Thanks Todd! This has worked for me as well. However, this brings > > to mind a question as to why did the JakartaRegexpMatcher in ant.jar > > not work? > > Because it depends upon jakarta-regexp and that one hasn't been on > your CLASSPATH. > > From the docs for the regexp mapper: > > >> The regexp mapper needs a supporting library and an implementation > >> of org.apache.tools.ant.util.regexp.RegexpMatcher that hides the > >> specifics of the library. Ant comes with implementations for the > >> java.util.regex package of JDK 1.4, jakarta-regexp and jakarta-ORO. > > So it needs an implemenation (you've named it) *and* a library, which > hasn't been present in your case. If this paragraph hasn't been clear > enough (very well possible), please submit a better version of it - > all documentation patches will be greatly appreciated. > > Thanks > > Stefan > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: