diff --git a/docs/manual/Types/mapper.html b/docs/manual/Types/mapper.html index a480c19f6..05023e33d 100644 --- a/docs/manual/Types/mapper.html +++ b/docs/manual/Types/mapper.html @@ -368,27 +368,30 @@ ignored.

Note that you need to escape a dollar-sign ($) with another dollar-sign in Ant.

+

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, -jakarta-regexp and jakarta-ORO. If you compile -from sources and plan to use one of them, make sure the libraries are -in your CLASSPATH. For information about using Since Ant 1.8.0 Ant + requires Java 1.4 to run, so the implementation based on + the java.util.regex package will always be available. + You can still use Jakarta ORO or Jakarta Regex instead if your + provide the corresponding jar in your CLASSPATH.

+ +

For information about using gnu.regexp or gnu.rex with Ant, see this article.

-

If you want to use one of the supported regular expression - libraries you need to also use - the corresponding ant-[jakarta-oro, jakarta-regexp, apache-oro, apache-regexp}.jar + +

If you want to use one of the regular expression + libraries other than java.util.regex you need to also use + the corresponding ant-[apache-oro, apache-regexp].jar from the Ant release you are using. Make sure, both will be loaded from the same classpath, that is either put them into your CLASSPATH, ANT_HOME/lib directory or a nested <classpath> element of the mapper - you cannot have -ant-[jakarta-oro, jakarta-regexp, apache-oro, apache-regexp].jar in ANT_HOME/lib +ant-[apache-oro, apache-regexp].jar in ANT_HOME/lib and the library in a nested <classpath>.

Ant will choose the regular-expression library based on the