Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 2742 invoked from network); 22 Mar 2005 22:17:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Mar 2005 22:17:11 -0000 Received: (qmail 24570 invoked by uid 500); 22 Mar 2005 22:17:07 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 24523 invoked by uid 500); 22 Mar 2005 22:17:06 -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 24509 invoked by uid 99); 22 Mar 2005 22:17:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of antoine@gmx.de designates 213.165.64.20 as permitted sender) Received: from pop.gmx.de (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 22 Mar 2005 14:17:05 -0800 Received: (qmail 24763 invoked by uid 0); 22 Mar 2005 22:17:02 -0000 Received: from 80.128.241.192 by www69.gmx.net with HTTP; Tue, 22 Mar 2005 23:17:02 +0100 (MET) Date: Tue, 22 Mar 2005 23:17:02 +0100 (MET) From: "Antoine Levy-Lambert" To: "Ant Users List" MIME-Version: 1.0 References: <879A5AD5DD0ED511891F0003473A9B560E23FD50@Z011004> Subject: Re: AW: Making copy NEVER overwrite X-Priority: 3 (Normal) X-Authenticated: #22961642 Message-ID: <26558.1111529822@www69.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I would use the selector something like Cheers, Antoine > set the read-only flag to the files? > > Jan > > > -----Urspr�ngliche Nachricht----- > > Von: David Resnick [mailto:abunetta@gmail.com] > > Gesendet am: Dienstag, 22. M�rz 2005 11:40 > > An: 'Ant Users List' > > Betreff: Making copy NEVER overwrite > > > > I am making a backup of some files which I then filter back into the > > original. Unfortunately, because of the way the targets are > > set up, this is > > done more than once. I want the copy task to perform the > > backup only if the > > backup files don't exist. Setting overwrite to false doesn't > > help me because > > the second time around the original is newer than the backup. > > > > > > > > Can anyone think of a way of preventing the copy target from > > copying if the > > file already exists? > > > > > > > > Thanks, David > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org