"Joshua Allen" <[EMAIL PROTECTED]> writes:

> I'm having problems running a clean script because the files I want to delete have a 
>~ character at the end of them, and ant can't
> seem to see them.
>
> <delete>
>             <fileset dir=".">

You  must set the defaultexcludes-attribute:

              <fileset dir=".">
                       defaultexcludes="no" />

>                 <include name="**/*.java~"/>
>                 <include name="**/*.class"/>
>             </fileset>
>         </delete>
>
> the class files are deleted, but any file's ending with ~ can't be deleted.

Some files are excluded by default, read the chapter "Directory based
Tasks" of the ant manual for details..

-- 
Martin Monsorno
mailto:[EMAIL PROTECTED]

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

Reply via email to