Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 43056 invoked from network); 28 Sep 2005 13:14:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2005 13:14:23 -0000 Received: (qmail 94572 invoked by uid 500); 28 Sep 2005 13:14:21 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 94512 invoked by uid 500); 28 Sep 2005 13:14:21 -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 94498 invoked by uid 99); 28 Sep 2005 13:14:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 06:14:21 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 06:14:26 -0700 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id j8SDDO0V004615 for ; Wed, 28 Sep 2005 15:13:24 +0200 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Wed, 28 Sep 2005 15:13:26 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Fileset and Custom Fileset in Ant 1.7 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Wed, 28 Sep 2005 15:13:26 +0200 Message-ID: <3CD9A35A043C094EA8773DBB698E801B0376D182@z011134.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Fileset and Custom Fileset in Ant 1.7 Thread-Index: AcW+vR9ebqXr02VwSom9RRX0iDkB5gFcSjDg From: To: X-OriginalArrivalTime: 28 Sep 2005 13:13:26.0740 (UTC) FILETIME=[697F0940:01C5C42E] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N And you should ensure that you _really_ need a fileset. 2 years ago (or so) I wanted to write a new fileset and end on a = selector. Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: Matt Benson [mailto:gudnabrsam@yahoo.com]=20 >Gesendet: Mittwoch, 21. September 2005 17:00 >An: Ant Developers List >Betreff: Re: Fileset and Custom Fileset in Ant 1.7 > >--- JP Fiset wrote: >[snip] >> Can anyone comment on the impact of those changes as to the=20 >> compatibility of fileset-based tasks between 1.6 and 1.7? >>=20 >> After reviewing the code (without testing my assumptions), it looks=20 >> like: >> 1. Fileset-based tasks written to take advantage of=20 >ResourceCollection=20 >> instead of FileSet will not run in Ant prior to 1.7 2. Fileset-based=20 >> tasks written prior to 1.7 (dependent on FileSet) will not=20 >be able to=20 >> support custom file sets, even if running in 1.7 >>=20 >> Are my assumptions right? >>=20 >For the most part, yes. However, depending on your needs you=20 >have some options. If your "custom fileset" >follows basic fileset semantics you can subclass fileset and=20 >use your implementation freely in version current and future=20 >Ant. See zipfileset for an example of a fileset subclass with=20 >(very) different behavior from the parent. Another option you=20 >have is--if your resources will always be true files--to=20 >program to the path class. In current Ant versions a path can=20 >contain fileset|dirset|filelist in addition to its own path=20 >attribute and pathelement child elements, but in Ant >=3D 1.7=20 >path will accept any ResourceCollection as long as it consists=20 >of filesystem resources only. In effect ResourceCollections=20 >are transparent to tasks that make use of paths instead of filesets. > >-Matt > >> JP >>=20 >> >--------------------------------------------------------------------- >> To unsubscribe, e-mail: >> dev-unsubscribe@ant.apache.org >> For additional commands, e-mail: >> dev-help@ant.apache.org >>=20 >>=20 > > > > =09 >__________________________________ >Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For=20 >additional commands, e-mail: dev-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org