ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Wood" <ew...@llbean.com>
Subject fileset includes and excludes precedence
Date Wed, 22 Jun 2005 16:45:43 GMT
I have a copy task that uses a fileset with "includes" and "excludes"  values set as properties.
As it turns out, the include list is wildcarded to include all files under the dir, but the
excludes is set to exculde all files under a "src" directory. include.list=**/* excludes=**/src/*

This task is in a generic copy target that is part of  a "higher" level build script that
is imported iby lower level scripts.

What I see is that the includes takes affect regardless of the excludes. How does filset handles
the reults of both parameters? Is there a precedence applied?


<copy todir="${dir.deploy}/${artifact}" verbose="true">
                    <fileset dir="${dir.src}" includes="${include.list} excludes=${exclude.list}"
/>
</copy>

Eric Wood
ewood@llbean.com
207.552.2306

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message