Sure, but then I'd have to subscribe to a busy list that I don't
really want to be on and this is also the hope that the examples on
the website might get updated to include something like this.

Thanks for the information.

jon

On Wed, Jul 14, 2010 at 6:36 AM, Stefan Bodewig <bode...@apache.org> wrote:
> [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
>
>

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

Reply via email to