Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 33822 invoked from network); 9 Dec 2004 16:35:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Dec 2004 16:35:16 -0000 Received: (qmail 1461 invoked by uid 500); 9 Dec 2004 16:33:12 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 1261 invoked by uid 500); 9 Dec 2004 16:33:11 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 1228 invoked by uid 99); 9 Dec 2004 16:33:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from gate.corvil.net (HELO corvil.com) (213.94.219.177) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 08:33:10 -0800 Received: from [172.18.1.171] (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id iB9GX4wS080157 for ; Thu, 9 Dec 2004 16:33:05 GMT (envelope-from peterreilly@apache.org) Message-ID: <41B87E6F.7090906@apache.org> Date: Thu, 09 Dec 2004 16:33:51 +0000 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Strange behavior of 'zip' References: <20041209161659.50564.qmail@web20425.mail.yahoo.com> In-Reply-To: <20041209161659.50564.qmail@web20425.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Matt Benson wrote: >--- Peter Reilly wrote: > > > >>Ah, I see. >>This does look like a bug. >> >> > >Is it? Or is it just the way update="true" works and >therefore a documentation issue? From the manual: > > > The issue was with update="false", not with update="true". When update is "false", the user wants the set the zip file to the contents of the zip command. Files in the zip file that are not in the zip tasks fileset are removed from the zip file if any of the files in the zip task's fileset are newer that the zip file or are not present in the zip file but this is not the case if the uptodate test is true. When update="true", the task behaves correctly. Peter >The update parameter controls what happens if the ZIP >file already exists. When set to yes, the ZIP file is >updated with the files specified. (New files are >added; old files are replaced with the new versions.) >... > >Nothing is said about what is done with files >currently existing in the archive, but not matched by >the zip task. Maybe we only need to clarify this >point. > >-Matt > > > > >__________________________________ >Do you Yahoo!? >The all-new My Yahoo! - Get yours free! >http://my.yahoo.com > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org