You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/10/04 17:26:35 UTC

DO NOT REPLY [Bug 13296] New: - reenable filesetmanifest attribute in the jar task

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=13296>.
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=13296

reenable filesetmanifest attribute in the jar task

           Summary: reenable filesetmanifest attribute in the jar task
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: bdeitte@macromedia.com


(I sent this to the Ant dev list but am placing here as well to be a general 
nuisance in getting this patch it.)  The filesetmanifest attribute in the jar 
task was disabled because the manifest was not written to the zip file first, 
and this causes problems with JarInputStream.  

Attached is a diff that changes the Zip class that allows two passes on the 
filesets, with the first pass not writing anything out to the outputstream.  
This allows all the manifest information to be gathered up and written first on 
the second pass.  I ran the appropriate tests and tried some cases out myself.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>