Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 90789 invoked from network); 20 Sep 2004 16:54:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Sep 2004 16:54:37 -0000 Received: (qmail 84018 invoked by uid 500); 20 Sep 2004 16:54:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 83908 invoked by uid 500); 20 Sep 2004 16:54:27 -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 83893 invoked by uid 99); 20 Sep 2004 16:54:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [12.177.23.133] (HELO hqexchfe01.hq.navis.net) (12.177.23.133) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 20 Sep 2004 09:54:26 -0700 Received: from [192.168.193.141] ([192.168.193.141]) by hqexchfe01.hq.navis.net with Microsoft SMTPSVC(6.0.3790.0); Mon, 20 Sep 2004 09:54:24 -0700 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: user@ant.apache.org From: Tim McNerney Subject: Re: Aggregating filesets dynamically Date: Mon, 20 Sep 2004 09:54:24 -0700 X-Mailer: Apple Mail (2.619) X-OriginalArrivalTime: 20 Sep 2004 16:54:24.0749 (UTC) FILETIME=[7BCDE9D0:01C49F32] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stefan Bodewig wrote: > On Fri, 17 Sep 2004, Tim McNerney wrote: > > > So the question is, is there some way to dynamically create a > > fileset, containing the aggregate of other filesets, each with a > > differing base dir and the number of which is not known beforehand? > > No, unfortunately there isn't. This is what I suspected, but I'm glad to have it confirmed before I start working on less savory solutions for my problem. > > The main reason is that a has a single base directory by > defintion, so whatever the result of the joined s would be, > it would not be a . Yes. And this is causing me pain in other places. But I have managed to work through it in most cases. > > Our generic file collection ATM is , even though it hasn't been > designed for this purpose. But even if supported a nested > (which should be rather simple), I don't see how to dynamically > create a from a comma separated list of directory names - at > least not without writing a custom task that does it. I'll look into the former as a possible generic solution and the latter to perhaps help us in our specific case. > > The "real" solution would be support for arbitrary file collections > inside of Ant - and inside of all Ant tasks. So far the goal has been > stated more than once but the way to get there is so long and made > more and more difficult by backwards compatibility that nobody has > really tackled it yet. Thanks for the info. --Tim --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org