ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Becroft <>
Subject <fileset> exclude A/a if B/a exists
Date Wed, 03 Nov 2010 21:49:39 GMT

Given the following folder structure:


I am trying to construct a <fileset> definition to exclude any files in
/alpha if the same filename exists in /beta. That is, construct a <fileset>
that returns (from the above example):


At present, I'm creating a 'tmp-beta', and copying the contents of alpha,
then the contents of beta. However, with around 3500 files, this takes a
little time.

Can anyone suggest a cleaner method of creating this definition, or
achieving the same result?
Daniel Becroft

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