ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: RegEx support for include and exclude patterns
Date Thu, 03 Sep 2009 14:34:09 GMT
On 2009-09-03, Raja Nagendra Kumar <Nagendra.Raja@tejasoft.com> wrote:

> Is there a feature in ant <include name=""/>... & <exclude name="eee**/**"/>
> tags of path like structures, filesets etc.

Not in 1.7.1, but Ant's trunk has and thus Ant 1.8.0 when it is ready
will have

     <filename regex="[a-z]*"/>

as selector.  I think the code in
<http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/FilenameSelector.java?view=log>
would compile against Ant 1.7.x so you cuold build it yourself and use
it as custom selector.

Stefan

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


Mime
View raw message