ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Delete task.
Date Wed, 09 Aug 2000 06:40:36 GMT
>>>>> "AW" == Ass World <> writes:

 AW> I'm looking at the code for the delete task (Ant 1.1) and it
 AW> seems to support include/exclude, 

It does.

 AW> yet when I try to use this feature, Ant complains.

What does it say? Are you sure, the Ant you are running is not an
older version of Ant - has happend many times to others before.

The syntax should be (straight from the docs)

<delete dir="." includes="**/*.bak"/>

or a little bit more fancy (not in the docs)

<delete dir="." defaultexcludes="off">
  <include name="**/*~" />
  <include name="**/#*#" />
  <include name="**/*.bak" />


View raw message