ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49596] preceding / modifies fileset result
Date Sat, 07 Aug 2010 20:50:35 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49596

Stefan Bodewig <bodewig@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
            Version|1.8.1                       |1.7.1
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0

--- Comment #4 from Stefan Bodewig <bodewig@apache.org> 2010-08-07 16:50:32 EDT ---
(In reply to comment #3)

> 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
> 
> http://ant.apache.org/manual/index.html

which one?

> 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"
> includes="**/*.txt"/>
> 
> the mapper will receive "b/c.txt"

In case of a fileset, yes.  For other resource collections it may receive the
absolute path.

> 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".

Yes, the task resolves it (with the help of fileset.getDir())

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message