ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49596] preceding / modifies fileset result
Date Sat, 07 Aug 2010 20:45:18 GMT

--- Comment #3 from 2010-08-07 16:45:16 EDT ---
Sorry to post this here hoping you will be reading this.
I think there is a error in the 3rd example from the bottom on this manual page

regarding: from="src${file.separator}*.file"

Look at this one and at the last who says 

<!-- redirect STDIN; fileset collects relative to its dir, but we need -->
        <!-- relative to basedir -->
        <inputmapper type="glob" from="*" to="src/*"/>

So in the 3rd example there should be: from="{file.separator}*.file"

Apparenlty a mapper receives a file in the form of its segments of the file
name after the fileset's dir.

Ex: for a file "D:a/b/c.txt" obtained from <fileset dir="D:/a"

the mapper will receive "b/c.txt"

In contrast, the nesting task of a fileset, like the "apply" task for example,
knows to obtain the complete file name: "D:a/b/c.txt".

Is this conclusion right?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message