ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Loading a list of filtered files
Date Tue, 13 Jul 2010 15:38:57 GMT
On 2010-07-13, Nicolas Lalevée wrote:

> <loadresource property="@{property}">
>     <concat>
>         <fileset dir="${fetchdir}" includes="ivy-*.xml">
>             <filterchain>
>                 <tokenfilter>
>                     <filetokenizer />
>                     <replaceregex pattern="^.*&lt;dependencies&gt;
> (.*)&lt;/dependencies&gt;.*$$" replace="&lt;!-- ${module.name}
> dependencies --&gt;\1" flags="si" />
>                 </tokenfilter>
>             </filterchain>
>         </fileset>
>     </concat>
> </loadresource>

> Unfortunaltely I cannot apply a filterchain on a fileset.

Any reason you can't move the filterchain to the level of loadresource
or concat rather than the indiviual files?

Stefan

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


Mime
View raw message