Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 43927 invoked from network); 29 Mar 2004 15:52:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Mar 2004 15:52:52 -0000 Received: (qmail 3880 invoked by uid 500); 29 Mar 2004 15:52:37 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 3847 invoked by uid 500); 29 Mar 2004 15:52:36 -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 3776 invoked from network); 29 Mar 2004 15:52:35 -0000 Received: from unknown (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 29 Mar 2004 15:52:35 -0000 Received: from corvil.com (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id i2TFqbhr035948 for ; Mon, 29 Mar 2004 16:52:37 +0100 (IST) (envelope-from peter.reilly@corvil.com) Message-ID: <4068469F.4090504@corvil.com> Date: Mon, 29 Mar 2004 16:54:07 +0100 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: how to convert path to fileset References: <20040329153831.73462.qmail@web20411.mail.yahoo.com> In-Reply-To: <20040329153831.73462.qmail@web20411.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The problem is more that filesets can only have one root or base directory. This base directory is used quite heavily in the ant core code. On unix this is no problem as all files have a common root directory. On windows there is no notion of a common root directory, due to its bizarre notion of "drives". If the files have a comon root directory, one can use ant-contrib's task. Peter Matt Benson wrote: >--- Brian Lalor wrote: > > >>Good morning, all. I'm a relative Ant newbie and >>struggling a bit with >>the notion of paths and filesets. I'd really like >>to be able to >>define a list of files that can be treated as either >>a path or a >>fileset so that I can limit the number of places I >>have to repeat >>things in my build descriptors. Take, for example, >> >> >(etc...) > >So anyway, depending on what you need to do, you can >go to different levels of complexity. Basically, >though, I would recommend you define these files as >one or more "ref'd" s, which you can nest >into s however you see fit, including declaring >these as references as well. Another interesting way >to do it is to define your s using >s, and just ref those. You can convert a > to a using , as Doug (I >think) mentioned, but in this case it just might be >the backward approach. > >$0.02 >-Matt > > > > >__________________________________ >Do you Yahoo!? >Yahoo! Finance Tax Center - File online. File on time. >http://taxes.yahoo.com/filing.html > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org