ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <Nagendra.R...@tejasoft.com>
Subject Re: <fileset> with refid to support further narrowing
Date Wed, 03 Feb 2010 13:29:43 GMT

Is it possible to convert the restricted files into new fileset with xyz id.

We need fileset, because the task we are using supports only fileset as
nested element.

Regards,
Nagendra



Raja Nagendra Kumar wrote:
> 
> 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@tejasoft.com> wrote:
>> 
>>>  <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@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/%3Cfileset%3E-with-refid-to-support-further-narrowing-tp27417405p27436269.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message