You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Greg Wilson <gv...@cs.toronto.edu> on 2004/10/08 17:29:17 UTC

deleting backup files?

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?

Thanks,
Greg

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