ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radonich, Tim" <tradon...@versatilemobile.com>
Subject RE: <delete> deprecation warning
Date Wed, 07 Nov 2001 19:20:54 GMT
defaultexcludes is deprecated in the delete tag and not needed here.
Any excludes you want should be inside the fileset tag like the
includes.

peace

tim

-----Original Message-----
From: Todd Chambery [mailto:tchambery@hotmail.com]
Sent: Wednesday, November 07, 2001 7:50 AM
To: Ant Users List
Subject: <delete> deprecation warning


Hi,

I'm using the following snippet to delete the content of a directory:

<target name="clean">
    <delete   includeEmptyDirs="false"
                    defaultexcludes="no">
        <fileset    dir="${dist.dir}"
                          includes="**/*" />
    </delete>
....

the running result of which is:

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

It looks to me like I am using a nested fileset element.  What gives?




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


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


Mime
View raw message