From da516c73ec7b674394d5fd7a8df96d93c21f411f Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Wed, 10 Jan 2007 12:12:44 +0000 Subject: [PATCH] Add separators between the mappers for easier reading of the source code. (Like it was before Script Mapper and Filter Mapper). git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@494794 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTypes/mapper.html | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/docs/manual/CoreTypes/mapper.html b/docs/manual/CoreTypes/mapper.html index 121c3b7d2..914c1ea1c 100644 --- a/docs/manual/CoreTypes/mapper.html +++ b/docs/manual/CoreTypes/mapper.html @@ -109,6 +109,11 @@ implicitly configured as a composite mapper. the generally available to and from.
The <mapper type|classname="..."> usage form remains valid for reasons of backward compatibility.

+ + + + +

identity

The target file name is identical to the source file name. Both to and from will be ignored.

@@ -139,6 +144,11 @@ implicitly configured as a composite mapper. Classes/dir/dir2/A.properties + + + + +

flatten

The target file name is identical to the source file name, with all leading directory information stripped off. Both to and @@ -170,6 +180,11 @@ leading directory information stripped off. Both to and A.properties + + + + +

merge

The target file name will always be the same, as defined by to - from will be ignored.

@@ -200,6 +215,11 @@ leading directory information stripped off. Both to and archive.tar + + + + +

glob

Both to and from define patterns that may contain at most one *. For each source file that matches @@ -324,6 +344,11 @@ that don't match the from pattern will be ignored.

will output "x is f/j.java".

+ + + + +

regexp

Both to and from define regular expressions. If the source file name matches the from @@ -535,6 +560,11 @@ jakarta-ORO and finally try jakarta-regexp.

will set hd.prop to "f\j.java".

+ + + + +

package

Sharing the same syntax as the glob mapper, the package mapper replaces @@ -560,6 +590,11 @@ with <uptodate> and <junit> output.

ignored + + + + +

unpackage (since Ant 1.6.0)

This mapper is the inverse of the package mapper. It replaces the dots in a package name with directory separators. This @@ -582,6 +617,11 @@ with <uptodate> and <junit> output.

${test.src.dir}/org/acme/AcmeTest.java + + + + +

composite (since Ant 1.6.2)

This mapper implementation can contain multiple nested mappers. File mapping is performed by passing the source filename to each nested @@ -610,6 +650,11 @@ with <uptodate> and <junit> output.

The composite mapper has no corresponding <mapper type> attribute.

+ + + + +

chained (since Ant 1.6.2)

This mapper implementation can contain multiple nested mappers. File mapping is performed by passing the source filename to the first