Darn, I knew there was a better solution ;-) Should have though of it! --DD
-----Original Message----- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 2:00 AM To: [EMAIL PROTECTED] Subject: Re: Patternsets and Filesets On Thu, 12 Dec 2002, Nathan Christiansen <[EMAIL PROTECTED]> wrote: > For those who are interested, here is the final code: I think you could have used a <present> selector in your <delete> task instead. <delete> <fileset dir="${web.deploy.dir}"> <present targetdir="${web.src.dir}/images"/> </fileset> </delete> Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>