ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radonich, Tim" <>
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



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


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

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

the running result of which is:

    [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:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message