Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6EA9517866 for ; Fri, 20 Mar 2015 05:48:38 +0000 (UTC) Received: (qmail 75163 invoked by uid 500); 20 Mar 2015 05:48:38 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 75138 invoked by uid 500); 20 Mar 2015 05:48:38 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 75115 invoked by uid 99); 20 Mar 2015 05:48:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2015 05:48:38 +0000 Date: Fri, 20 Mar 2015 05:48:38 +0000 (UTC) From: "Leo Wandersleb (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-8260) Error when unzipping build zip package MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-8260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370757#comment-14370757 ] Leo Wandersleb edited comment on CB-8260 at 3/20/15 5:48 AM: ------------------------------------------------------------- Same here. Sam could you share how you worked around this? I only started looking into it. If not, I'll provide a workaround tomorrow. My deploy script currently does this: cordova build browser --release scp platforms/browser/build/package.zip $SERVER:$FOLDER ssh $SERVER 'cd '$FOLDER';unzip -o package.zip;rm package.zip' and sound and font files cause issues. ======== Edit: looks like the build browser script doesn't do anything special. var zipFile = zip(); zipFile.addLocalFolder(platformWwwDir, '.'); zipFile.writeZip(packageFile); seam to be all the lines relevant here, so I will just zip it up myself or rsync or something. was (Author: leowa): Same here. Sam could you share how you worked around this? I only started looking into it. If not, I'll provide a workaround tomorrow. My deploy script currently does this: cordova build browser --release scp platforms/browser/build/package.zip $SERVER:$FOLDER ssh $SERVER 'cd '$FOLDER';unzip -o package.zip;rm package.zip' and sound and font files cause issues. > Error when unzipping build zip package > -------------------------------------- > > Key: CB-8260 > URL: https://issues.apache.org/jira/browse/CB-8260 > Project: Apache Cordova > Issue Type: Bug > Components: Browser > Reporter: Sam Verschueren > > When I build my project with 'cordova build browser', a zip file will be created under the build folder. When I unzip that folder I get the following errors for certain files: > error: invalid compressed data to inflate > It seems that the problem lays in the adm-zip module used to create that zip package. Other people have reported the same issue in the issue tracker of adm-zip (https://github.com/cthackers/adm-zip/issues/102). > This could be solved by using another archiver module like https://github.com/ctalkington/node-archiver as suggested by another user in the issue tracker of adm-zip. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org