ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50124] New: "delete" task ignores "errorOnMissingDir" attribute
Date Wed, 20 Oct 2010 14:59:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50124

           Summary: "delete" task ignores "errorOnMissingDir" attribute
           Product: Ant
           Version: 1.8.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: isaac@shabtay.com


The "delete" task fails when processing a FileSet that is based on a
non-existent directory, even if "errorOnMissingDir=false" is set.

The code that fails, "Delete.java":

            } else if (!fsDir.isDirectory()) {
                handle("Directory does not exist: " + fsDir);

Should add a check for "errorOnMissingDir".

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message