https://issues.apache.org/bugzilla/show_bug.cgi?id=46091

           Summary: erroronmissingdir attribute equivalent for archive-type
                    filesets (e.g. zipfileset)
           Product: Ant
           Version: 1.7.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


Attribute erroronmissingdir allows "optional" filesets to be declared simply.
For archive filesets (ArchiveFileset and subclasses, I believe) this (probably)
works when that fileset specifies a "dir" to be packed into the archive. The
other way around, when it specifies files from an archive it does not - even if
erroronmissingdir is set to 'false', when the specified archive is missing, an
error will occur.

There is a great equivalence a 'dir' and an 'archive', and this should be
reflected in filesets, by consistently supporting erroronmissingdir also for
archives. Alternatively, an new attribute, such as 'erroronmissingARCHIVE'
could be introduced instead.


-- 
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