Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 12419 invoked from network); 12 May 2006 08:21:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 May 2006 08:21:44 -0000 Received: (qmail 55740 invoked by uid 500); 12 May 2006 08:21:36 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 55605 invoked by uid 500); 12 May 2006 08:21:36 -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 91918 invoked by uid 99); 12 May 2006 07:20:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Message-ID: From: "Allwicher, Klaus" To: Ant Users List Subject: RE: Ordered fileset Date: Fri, 12 May 2006 03:17:12 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2658.27) Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Scot, thanks, I had read over the additional 'count' attribute, sorry :-( With this everything works fine. @Matt: Thanks also for the suggestion, but we want only to used "offically" released versions ... Klaus > -----Original Message----- > From: Scot P. Floess [mailto:floess@mindspring.com] > Sent: 11 May, 2006 17:28 > To: Ant Users List > Subject: Re: Ordered fileset > > Klaus: > > Check out the timestampselector in ant contrib. I see you > using the "for" task so I assume you are familiar with ant contrib ;) > > From the documentation, it has a count attribute "the number > of files to find. If more than 1, than the files in the > output appear in the order indicated by the |age| attribute" > and age "the age of the files to retrieve, either |eldest| or > |youngest|. Defaults to |youngest|." > > Allwicher, Klaus wrote: > > Hi, > > > > I have to process different files ordered by their creation > date. (In > > more detail, I have to import them and have to assure the > the contents > > of newer archives are not overwritten by the contents of > older files). > > If there a possiblity to define an order for filesets or > are there any > > other ways to achieve this with standard ANT tasks/types ? > > Or do I have to write a new/extended fileset by my own ? > > > > Currently the ANT target looks something like > > > > > > casesensitive="false" > > includes="${arc_pattern}" /> > > > > > > > > > > > > Thanks for you help :-) > > > > Klaus > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For > additional > > commands, e-mail: user-help@ant.apache.org > > > > > > > > -- > Scot P. Floess > 27 Lake Royale > Louisburg, NC 27549 > > 252-478-8087 (Home) > 919-754-4592 (Work) > > Chief Architect JPlate http://sourceforge.net/projects/jplate > Chief Architect JavaPIM http://sourceforge.net/projects/javapim > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org