From user-return-68230-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Jul 08 18:22:26 2009 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 14132 invoked from network); 8 Jul 2009 18:22:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jul 2009 18:22:26 -0000 Received: (qmail 33315 invoked by uid 500); 8 Jul 2009 18:22:35 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 33247 invoked by uid 500); 8 Jul 2009 18:22:34 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 33230 invoked by uid 99); 8 Jul 2009 18:22:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 18:22:34 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 18:22:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MObmP-0007jQ-0o for user@ant.apache.org; Wed, 08 Jul 2009 11:22:05 -0700 Message-ID: <24396800.post@talk.nabble.com> Date: Wed, 8 Jul 2009 11:22:05 -0700 (PDT) From: rdblaha1 To: user@ant.apache.org Subject: Re: Ant 1.7: unzip with overwrite set to 'false' is overwriting files In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: rd_blaha@hotmail.com References: <24393106.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thank you David for pointing out the OLDER vs. NEWER timestamp. The timestamp of the existing files is always OLDER in my testing. My problem isn't solved with the patternset as I previously thought. If my config properties files don't exist in the dest directory in the first place I DO want them there. The patternset will always exclude them whether they exist or not. I need someway to just simply NOT overwrite them if they exist OLDER or NEWER timestamp. In that case what would you suggest? Thanks again David, Rick Blaha David Weintraub wrote: > > Quick question: What is the timestamp on these files? > > If you set the overwrite parameter to false, it may be overwriting > files that have an OLDER timestamp than the file that's replacing it. > > The description of this parameter is: > > Overwrite files, even if they are newer than the corresponding entries > in the archive (true or false, default is true). > -- View this message in context: http://www.nabble.com/Ant-1.7%3A--unzip-with-overwrite-set-to-%27false%27-is-overwriting-files-tp24393106p24396800.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org