Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 94642 invoked from network); 4 Jan 2007 07:39:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2007 07:39:49 -0000 Received: (qmail 48666 invoked by uid 500); 4 Jan 2007 07:39:56 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 48099 invoked by uid 500); 4 Jan 2007 07:39:54 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 48088 invoked by uid 99); 4 Jan 2007 07:39:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 23:39:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 23:39:47 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 84FE1714316 for ; Wed, 3 Jan 2007 23:39:27 -0800 (PST) Message-ID: <10259141.1167896367526.JavaMail.jira@brutus> Date: Wed, 3 Jan 2007 23:39:27 -0800 (PST) From: "Mario Ivankovits (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (SANDBOX-183) Compress should allow for writing to Zip Files In-Reply-To: <24816180.1167847527737.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SANDBOX-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462159 ] Mario Ivankovits commented on SANDBOX-183: ------------------------------------------ I haven't had the time to give it a try, but looks promising. Just a few things in advance: * use the org.apache.commons.compress package prefix (instead of the com.* one) * add the ASF license header * use method names with lower-case first letter * did you already sent a CLA? [1] * do not use e.printStrackTrace() Then something technically * ModifiableZipFile.WriteExistingEntries: when you "shift" the content you allocate a buffer with the full sizeOfBlock size, isn't it dangerous (out of memeory) when you have to deal with large zip files, or at least with a large compressed entry? Thanks! Mario [1] http://www.apache.org/licenses/#clas > Compress should allow for writing to Zip Files > ---------------------------------------------- > > Key: SANDBOX-183 > URL: https://issues.apache.org/jira/browse/SANDBOX-183 > Project: Commons Sandbox > Issue Type: New Feature > Components: Compress > Affects Versions: Nightly Builds > Reporter: Will Pugh > Fix For: Nightly Builds > > Attachments: myzip.zip > > > Compress should be able to modify existing ZipFiles. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org