ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: mappedresources question
Date Wed, 14 Jul 2010 13:36:43 GMT
[this would be a good question for the user@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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message