ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12874] New: - defaultexcludes does not work for delete task
Date Fri, 20 Sep 2002 19:57:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12874>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12874

defaultexcludes does not work for delete task

           Summary: defaultexcludes does not work for delete task
           Product: Ant
           Version: 1.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: morgemin@yahoo.com


When setting defaultexcludes to "no" on the delete task certain files and 
directories are still excluded in the delete. In addition the delete task 
outputs a "Deprecation" warning message that doesn't make sense.

example delete task
====================
  <target name="clean-all" if="clean.all" depends="base-setup">
    <delete defaultexcludes="no">
      <fileset dir="${somedir}">
        <include name="**/*"/>
        <exclude name="**/build.xml"/>
      </fileset>
    </delete>
  </target>

output of ant
==============
Apache Ant version 1.5 compiled on July 9 2002
Buildfile: src\com\amd\ammo\build.xml
Detected Java version: 1.3 in: C:\JBuilder6\jdk1.3.1\jre
Detected OS: Windows 2000

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

BUILD SUCCESSFUL
Total time: 1 second

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


Mime
View raw message