From 8e410f0f18af59a1726e34166b0633dc97723c41 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Fri, 17 Dec 2004 14:55:47 +0000 Subject: [PATCH] clarify the use of file.separator character for regexpression git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277245 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTypes/mapper.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/manual/CoreTypes/mapper.html b/docs/manual/CoreTypes/mapper.html index 15d97d4e2..1c2a2a624 100644 --- a/docs/manual/CoreTypes/mapper.html +++ b/docs/manual/CoreTypes/mapper.html @@ -66,7 +66,12 @@ with the following attributes:

Note that Ant will not automatically convert / or \ characters in the to and from attributes to the correct directory separator of your current platform. If you need to specify -this separator, use ${file.separator} instead.

+this separator, use ${file.separator} instead. + For the regexpmapper, ${file.separator} will not work, +as on windows it is the '\' character, and this is an escape character +for regular expressions, one should use the handledirchar attribute +instead. +

Parameters specified as nested elements

The classpath can be specified via a nested <classpath>, as well - that is,