ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1027524 - /ant/core/trunk/docs/manual/Types/mapper.html
Date Tue, 26 Oct 2010 12:53:50 GMT
Author: bodewig
Date: Tue Oct 26 12:53:49 2010
New Revision: 1027524

URL: http://svn.apache.org/viewvc?rev=1027524&view=rev
Log:
regex requirements are softer now that Ant requires Java 1.4

Modified:
    ant/core/trunk/docs/manual/Types/mapper.html

Modified: ant/core/trunk/docs/manual/Types/mapper.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/Types/mapper.html?rev=1027524&r1=1027523&r2=1027524&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/Types/mapper.html (original)
+++ ant/core/trunk/docs/manual/Types/mapper.html Tue Oct 26 12:53:49 2010
@@ -368,27 +368,30 @@ ignored.</p>
 
 <p>Note that you need to escape a dollar-sign (<code>$</code>) with
 another dollar-sign in Ant.</p>
+
 <p>The regexp mapper needs a supporting library and an implementation
 of <code>org.apache.tools.ant.util.regexp.RegexpMatcher</code> that
-hides the specifics of the library. Ant comes with implementations for
-<a href="http://download.oracle.com/javase/6/docs/api/java/util/regex/package-summary.html"
 target="_top">the java.util.regex package</a>,
-<a href="http://jakarta.apache.org/regexp/" target="_top">jakarta-regexp</a>
and <a
-href="http://jakarta.apache.org/oro/" target="_top">jakarta-ORO</a>. If you compile
-from sources and plan to use one of them, make sure the libraries are
-in your <code>CLASSPATH</code>. For information about using <a
+  hides the specifics of the library.  <em>Since Ant 1.8.0</em> Ant
+  requires Java 1.4 to run, so the implementation based on
+  the <code>java.util.regex</code> package will always be available.
+  You can still use Jakarta ORO or Jakarta Regex instead if your
+  provide the corresponding jar in your CLASSPATH.</p>
+
+<p>For information about using <a
 href="http://www.cacas.org/~wes/java/" target="_top">gnu.regexp</a> or <a
 href="http://www.crocodile.org/~sts/Rex/" target="_top">gnu.rex</a> with Ant, see
<a
 href="http://marc.theaimsgroup.com/?l=ant-dev&m=97550753813481&w=2" target="_top">this</a>
 article.</p>
-<p>If you want to use one of the supported regular expression
-  libraries you need to also use
-  the corresponding <code>ant-[jakarta-oro, jakarta-regexp, apache-oro, apache-regexp}.jar</code>
+
+<p>If you want to use one of the regular expression
+  libraries other than <code>java.util.regex</code> you need to also use
+  the corresponding <code>ant-[apache-oro, apache-regexp].jar</code>
 from the Ant release you are using.
 Make sure, both will be loaded from the same
 classpath, that is either put them into your <code>CLASSPATH</code>,
 <code>ANT_HOME/lib</code> directory or a nested
 <code>&lt;classpath&gt;</code> element of the mapper - you cannot have
-<code>ant-[jakarta-oro, jakarta-regexp, apache-oro, apache-regexp].jar</code>
in <code>ANT_HOME/lib</code>
+<code>ant-[apache-oro, apache-regexp].jar</code> in <code>ANT_HOME/lib</code>
  and the library
 in a nested <code>&lt;classpath&gt;</code>.</p>
 <p>Ant will choose the regular-expression library based on the



Mime
View raw message