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 2004/12/22 17:07:12 UTC

DO NOT REPLY [Bug 32802] New: - invalid empty zip file created with manifest

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32802>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32802

           Summary: invalid empty zip file created with manifest
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: antoine@apache.org


with this project file
<project name="blub" default="build" basedir=".">
    <target name="build">
        <jar jarfile="api.jar" manifest="MANIFEST.MF" duplicate="preserve">
            <fileset dir="com">
                <include name="**/*.class"/>
            </fileset>
        </jar>
    </target>
</project>
I am getting a totally empty jar file which cannot be opened with
java.util.Zip.ZipFile if the directory com is empty.

This is similar to bug 31530.

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

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