[ 
https://jira.codehaus.org/browse/MASSEMBLY-660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wolfgang Grossinger updated MASSEMBLY-660:
------------------------------------------

    Attachment:     (was: ZPS ProtocolUploader Handbuch.pdf)

> Creating a Zip doesn't work correctly
> -------------------------------------
>
>                 Key: MASSEMBLY-660
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-660
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Windows 7 64 Bit
>            Reporter: Wolfgang Grossinger
>            Assignee: Kristian Rosenvold
>
> We have a simple batch that is deployed in 2 Parts to Nexus: the .jar itself 
> and a .zip with configuration information which also includes the attached 
> .pdf.
> After the deployment to Nexus, everything is correct so far (we can still 
> open the .pdf and the content is ok).
> When we deploy the Batch to our Host-System, we load the dependencies from 
> Nexus, unpack them, prepare the config files for the according 
> Host-Environment and repack all again as a .zip-File.
> - Unpackaging seems to be ok, we can still open the .pdf and read the 
> contents, but after repackaging the files, the .pdf is broken (the size is 
> still the same, we can open it but it is no longer possible to display the 
> content as it seems that one bit or so has changed.
> - We checked also our Zip-Programs to be sure it is not because of a bug in 
> one of the programs but neither 7zip nor the Windows built in program was 
> able to produce a correct result.
> -> this may not be a direct problem of the assembly plugin but of some libs, 
> the plugin uses. As we don't know which libs you use we just can report the 
> problem here, you may be able to switch to a newer lib or report the bug to 
> the right people :-)



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to