Jon Stevens <latch...@gmail.com> wrote on 07/14/2010 12:19:22 AM:

> say i have this:
> 
>         <war destfile="foo.war" webxml="WEB-INF/web.xml">
>             <mappedresources>
>                 <resources refid="all.classpath" />
>                 <chainedmapper>
>                     <flattenmapper/>
>                     <globmapper from="*" to="WEB-INF/lib/*"/>
>                 </chainedmapper>
>             </mappedresources>
>        </war>
> 
> but i want to exclude some files from the WEB-INF/lib that are
> included in the all.classpath... how would i do that?

Offhand I think if a resource has a null mapping it will be excluded.

By far though I think it would be easier to just make sure that the 
unwanted resources are excluded from all.classpath

Reply via email to