You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2013/11/29 02:57:35 UTC

[Bug 55829] New: The compositemapper with identifiedmapper and others in works uncorrectly.

https://issues.apache.org/bugzilla/show_bug.cgi?id=55829

            Bug ID: 55829
           Summary: The compositemapper with identifiedmapper and others
                    in works uncorrectly.
           Product: Ant
           Version: 1.9.2
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: liugchome2004@163.com

Created attachment 31083
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31083&action=edit
The Directory structure Before and After running the Ant task.

See directory structure in Attachment.Directory Structure.png;
After a task below:
<copy todir="testmapper">
        <fileset dir="src">
            <include name="**/*.*" />
        </fileset>
        <compositemapper>

            <identitymapper/>
            <globmapper from="*.txt" to="*" />
            <globmapper from="*.java" to="*" />
        </compositemapper>
    </copy>
It's After.png now.

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

[Bug 55829] The compositemapper with identifiedmapper and others in works uncorrectly.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55829

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 OS|                            |All

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
the mapper does what it is supposed to do, but copy will only pick the first
mapping unless you set the enablemultiplemappings attribute of the task to
true.

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