Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 99108 invoked from network); 12 May 2003 19:46:41 -0000 Received: from auds952.usa.alcatel.com (143.209.238.7) by daedalus.apache.org with SMTP; 12 May 2003 19:46:41 -0000 Received: from alcatel.com (localhost [127.0.0.1]) by auds952.usa.alcatel.com (8.12.8p1/8.12.8) with ESMTP id h4CJkki5021739 for ; Mon, 12 May 2003 14:46:46 -0500 (CDT) Message-ID: <3EBFFA16.ABECE605@alcatel.com> Date: Mon, 12 May 2003 14:46:30 -0500 From: Sebastien Blanc Organization: Alcatel USA X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Ant Users List Subject: Re: fileset with multiple source directories? References: <5.2.0.9.2.20030512132831.02f210e0@cismail.creativeis.com> <5.2.0.9.2.20030512141735.031afe38@shell.visi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Or did you mean > create individual filesets and then create one fileset that contains all > those filesets? yes, call pathconvert for all filesets (u can create these filesets rite ?) and incrementally build the property that concatenates all of them to have a final property containing all the files under all ur dirs: ... ... assign global property to p1,p2,p3 .... then convert ur global property into a fileset using the includes attribute. if do so, u don't need to use the foreach since ur copy task will already be in fileset format. also note that if this list is directly the list of subdirs under one dir then u can compute it dynamically with the same dirset/pathconvert strategy, if not then hardcode the list (as u wd have to do anyway with for-each) seb.