ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Wilson <gvwil...@cs.toronto.edu>
Subject RE: deleting backup files?
Date Fri, 08 Oct 2004 18:14:41 GMT
Hi Dominique.  That doesn't seem to do it; I've changed the task to:

    <target name="clean"
            description="Clean up generated artifacts">
        <delete dir="${gen}"/>
        <delete dir="${class}"/>
        <delete dir="${data}"/>
        <delete>
            <fileset dir="${basedir}" defaultexcludes="no">
                <include name="**/*~"/>
            </fileset>
        </delete>
    </target>

and it's still not deleting the "*~" files.

Thanks,
Greg

On Fri, 8 Oct 2004, Dominique Devienne wrote:

> > From: Greg Wilson [mailto:gvwilson@cs.toronto.edu]
> >
> > My build.xml includes this:
> >
> >     <property name="class" value="${basedir}/class"/>
> >     <property name="data"  value="${basedir}/data"/>
> >
> >     <target name="clean" description="Clean up generated artifacts">
> >         <delete dir="${class}"/>
> >         <delete dir="${data}"/>
> >         <delete>
> >             <fileset dir="${basedir}">
> >                 <include name="**/*~"/>
> >             </fileset>
> >         </delete>
> >     </target>
> >
> > It deletes the two working directories, but doesn't delete the *~
> files.
> > Can anyone tell me why not?
>
> It's probably in the defaultExcludes. See <fileset> documentation. --DD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message