ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <latch...@gmail.com>
Subject Re: mappedresources question
Date Wed, 14 Jul 2010 16:07:11 GMT
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 <bodewig@apache.org> wrote:
> [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
>
>

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


Mime
View raw message