[this would be a good question for the u...@ant list ;-)]

On 2010-07-14, Jon Stevens wrote:

> 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?

Wrap a <restrict> around your <resources> element and add selectors that
strip out the things you don't want.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to