ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: Conflicts include exclude
Date Thu, 26 Apr 2007 14:25:07 GMT
On 4/26/07, Saloucious <saloucious@gmail.com> wrote:
> It seems to have a conflict between
> <exclude name="${config.path}/*-mock.xml" />
> <include name="${config.path}/*-${value}-mock.xml"/>
> Ant does not copy files with pattern *-${value}-mock.xml

<exclude> always wins over <include>. Their relative order in the
fileset doesn't matter.

For greater flexibility, use selectors and notably the <filename>
selection with <and> and <or> grouping. --DD

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


Mime
View raw message