ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Patternsets and Filesets
Date Fri, 13 Dec 2002 15:32:44 GMT
Darn, I knew there was a better solution ;-) Should have though of it! --DD

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Friday, December 13, 2002 2:00 AM
To: ant-user@jakarta.apache.org
Subject: Re: Patternsets and Filesets

On Thu, 12 Dec 2002, Nathan Christiansen
<Nathan_Christiansen@morinda.com> 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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message