ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject [antlist] delete and filesets
Date Wed, 25 Jul 2001 15:42:07 GMT
I want to delete only  *.class  files, so i have used the following code
below.  However, is it imperative I use the exclude name, to avoid deletion
of source files?

<target name="cleanClasses">
    <delete verbose="true|false">
        <fileset>
            <include name="**/*.class" />
            <include name="**/*.class~" />
            <exclude name="**/*.java" />
            <exclude name="**/*.java~" />
            <exclude name="**/*.vss" />
        </fileset>
    </delete>
</target>





Mime
View raw message