peterreilly 2004/12/17 06:55:47
Modified: docs/manual/CoreTypes mapper.html
Log:
clarify the use of file.separator character for regexpression
Revision Changes Path
1.21 +6 -1 ant/docs/manual/CoreTypes/mapper.html
Index: mapper.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTypes/mapper.html,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- mapper.html 17 Dec 2004 14:18:31 -0000 1.20
+++ mapper.html 17 Dec 2004 14:55:47 -0000 1.21
@@ -66,7 +66,12 @@
<p>Note that Ant will not automatically convert / or \ characters in
the <code>to</code> and <code>from</code> attributes to the correct
directory separator of your current platform. If you need to specify
-this separator, use <code>${file.separator}</code> instead.</p>
+this separator, use <code>${file.separator}</code> instead.
+ For the regexpmapper, <code>${file.separator}</code> will not work,
+as on windows it is the '\' character, and this is an escape character
+for regular expressions, one should use the <code>handledirchar</code>
attribute
+instead.
+</p>
<h3>Parameters specified as nested elements</h3>
<p>The classpath can be specified via a nested
<code><classpath></code>, as well - that is,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]