I tried

<target name="clean">
    <delete defaultexcludes="no">
      <fileset dir="${basedir}" includes="**/*~"/>
    </delete>
  </target>

with this result:

clean:
   [delete] DEPRECATED - Use of the implicit FileSet is deprecated.  Use a
nested fileset element instead.


Klara (using ant1.5.1beta)

----- Original Message -----
From: "Conor MacNeill" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 12:54 PM
Subject: Re: deleting emacs ~-files does not work


> Klara Ward wrote:
> > I've tried deleting the emacs ~-files with this delete task, but it
won't work
> >
> >   <target name="clean">
> >     <delete>
> >       <fileset dir="${basedir}" includes="**/*~"/>
> >     </delete>
> >   </target>
> >
> > Any ideas why this won't work?
> >
>
> Look at the defaultExcludes attribute
>
> Conor
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to