geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <>
Subject [jira] Updated: (GERONIMO-2290) Percent complete goes over 100% when installing configurations
Date Mon, 07 Aug 2006 15:05:15 GMT
     [ ]

Aaron Mulder updated GERONIMO-2290:

    Fix Version/s: 1.2
                       (was: 1.1.x)

Someone applied a fix to always count the unnpacked bytes of a JAR but...

We have yet another problem with this issue, which is that packed artifacts should used the
file size, whereas artifacts that are going to be unpacked should use the size of the contents.
 We currently unpack CARs but leave JARs packed.

Workaround applied to 1.1 but not applying to trunk because this really ought to be reconsidered
in light of GERONIMO-2288 (if we're going to change the way we decide whether to unpack, we
should also change when we do the size calculation so we only do it if we're going to unpack
the artifact anyway).

> Percent complete goes over 100% when installing configurations
> --------------------------------------------------------------
>                 Key: GERONIMO-2290
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: core, console
>    Affects Versions: 1.1
>            Reporter: Aaron Mulder
>            Priority: Critical
>             Fix For: 1.2
> Looks like the UnpackArtifactTypeHandler counts the "uncompressed" bytes, whereas the
% is based on the content size returned by the server for the download (the "compressed" byte
> Probably should use an InputStream between the download stream and the ZIP stream that
performs the count on read(byte[],int,int) and them use that count instead of the uncompressed

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message