ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject problem with excludesfile
Date Tue, 24 Jul 2001 09:45:41 GMT

I am using the excludesfile attribute in my fileset. The excludes file
contains a list of newline delimited patterns - the problem is I can't
get it to match what I want. I know it is finding and reading the file
because if I put the the pattern * in there, nothing gets matched. 

I want to exclude files that begin with _inc, I've tried *_inc*, _inc,
^_inc* but files beginning _inc keep slipping though.

Here is the relevant bit of the build file:
      <fileset dir="${src.dir.root}/JSPC"
excludesfile="${src.dir.root}/JSPC/exclusions.txt" />
      <mapper type="glob" from="*.jsp" to="*.class"/>

Someone please help !!

Thanks, Jamie

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

View raw message