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: [email protected]
        ReportedBy: [email protected]


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.

Reply via email to