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 2008/11/19 12:13:14 UTC

DO NOT REPLY [Bug 31947] War task should flatten files in element

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #27 from Stefan Bodewig <bo...@apache.org>  2008-11-19 03:13:14 PST ---
svn trunk now contains a <mappedresources> collection that does the job.
>From the manual

    <war destfile="${output}">
      <mappedresources>
        <restrict>
          <path path="${java.class.path}"/>
          <type type="file"/>
        </restrict>
        <chainedmapper>
          <flattenmapper/>
          <globmapper from="*" to="WEB-INF/lib/*"/>
        </chainedmapper>
      </mappedresources>
    </war>

this flattens all files from CLASSPATH and puts them into WEB-INF/lib

*** This bug has been marked as a duplicate of bug 4240 ***


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