Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 66750 invoked from network); 23 May 2005 21:11:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2005 21:11:10 -0000 Received: (qmail 39721 invoked by uid 500); 23 May 2005 21:11:08 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 39673 invoked by uid 500); 23 May 2005 21:11:07 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 39658 invoked by uid 99); 23 May 2005 21:11:07 -0000 X-ASF-Spam-Status: No, hits=3.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FORGED_YAHOO_RCVD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web30915.mail.mud.yahoo.com (HELO web30915.mail.mud.yahoo.com) (68.142.201.68) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 23 May 2005 14:11:06 -0700 Received: (qmail 29997 invoked by uid 60001); 23 May 2005 21:11:03 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=PFJLc86aRrYSgDpiBsKgbFVAawNaIqZtr9JDb3GfS9IWVLbNrvy6puTP3VhNSZgFIYXbCeyUgnCmcv0RrkWm/wrS4jQi25Rrpi1mO8hG4BZ6q/xssRmmL6H1QvaUPbgGQWWKKpvVJg6E4T1HYxgQK9aA6ACiCIUhumnI3yKEhyA= ; Message-ID: <20050523211103.29995.qmail@web30915.mail.mud.yahoo.com> Received: from [65.247.233.5] by web30915.mail.mud.yahoo.com via HTTP; Mon, 23 May 2005 14:11:03 PDT Date: Mon, 23 May 2005 14:11:03 -0700 (PDT) From: Matt Benson Subject: Re: copy + ResourceCollections To: Ant Developers List , Alexey Solofnenko In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --- Alexey Solofnenko wrote: > Sounds great. Do you have also "Movable" interface? Not yet. Let's see if anyone else has anything to say about these concepts too. -Matt > > - Alexey. > > On 5/23/05, Matt Benson > wrote: > > > > --- "Alexey N. Solofnenko" > > wrote: > > > Can it be - copy+delete in that case? > > > > Okay... here's what I did for preserving > timestamps in > > FileUtils copy methods. I added a Touchable > interface > > to the resources package. FileResource is (so far) > > the only Resource that uses it, but I was thinking > > along the lines of FTP/SCP Resources when I added > it. > > So by that token, you would similarly add a > Deletable > > (?) interface for FileResource to implement. So > then > > move could fail when encountering a Resource that > does > > not implement Deletable... that is the only > sensible > > way that occurs to me to support Resource > deletion. > > > > -Matt > > > > > > > > - Alexey. > > > > > > Matt Benson wrote: > > > > > > >... Regarding the Move task, I don't see that > we > > > could > > > >move non-file resources in a predictable way so > I > > > >would recommend failing on ResourceCollections > that > > > do > > > >not return true from isFilesystemOnly(). > > > > > > > >Thoughts? > > > > > > > >-Matt > > > > > -- > Alexey N. Solofnenko trelony at gmail.com > > home: http://trelony.cjb.net/ > Pleasant Hill, CA (GMT-8 hours usually) > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org