Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: <fileset> with refid to support further narrowing

Raja Nagendra Kumar

2010-02-02

Replies: Find Java Web Hosting

Author LoginPost Reply

Stefan.. You are our ready reference of what ever I think ant could/should
provide/be..

Thank you once again.

Regards,
Nagendra

Stefan Bodewig wrote:
>
> On 2010-02-02, Raja Nagendra Kumar <Nagendra.Raja@(protected):
>
>> <fileset refid="src.select.patterns" >
>>           <include name="**/*ApplicationManager.java"/>
>
>>         </fileset>
>
>> Would be possible to fileset or any resource collection, when refered
>> through a reference, can this be further narrowed using the <include> and
>> <exclude>
>
> Yes, see the <restrict> resource collection (and the <name> selectors).
>
> <restrict>
>  <fileset refid="src.select.patterns"/>
>  <name name="**/*ApplicationManager.java"/>
> </restrict>
>
> Wrap <name> into <not> for excludes and use <and>/<or> to combine
> multiple selectors.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.