Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 55925 invoked from network); 6 May 2009 17:12:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 May 2009 17:12:34 -0000 Received: (qmail 87613 invoked by uid 500); 6 May 2009 17:12:32 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 87557 invoked by uid 500); 6 May 2009 17:12:32 -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 87501 invoked by uid 99); 6 May 2009 17:12:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 17:12:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.58.154] (HELO web55105.mail.re4.yahoo.com) (206.190.58.154) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 06 May 2009 17:12:20 +0000 Received: (qmail 61917 invoked by uid 60001); 6 May 2009 17:11:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1241629918; bh=jpoaOipxQCk+ANaajZ2VX3PU2ZmrzWNGNhsQqC5NbNU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=26jgSfLQRgHd4I1n9sgGxuYuk+24reJtlSukZl5yP0QAv0uRKR7BX3Lab6F2yUUEfNUdLrakiLIyteNuZWGrEYPN3nSsST5mw+X2hRNAWRf7i+QSs0D5a2LCS9m5L9bmBi44bcn1C8E5kc729rDyMCgnpQx/diqCP1gKNWSutfs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=1yE+2fmEkZcwkcjnhvH+RC3zZ9mjnA5tEk2mFhLG0Lhrldp3eH3XxKDSJPHipkoqI57aft1MDNeC+KPzYtCxkpij6xVu4xaszAuqvMF3JhGDYOKCcDnE+hhh/aK0qYkshHo7+vBQiwtnK31Up7qTBhCmBe8PXXuQTyrBlPLK5wc=; Message-ID: <874218.60837.qm@web55105.mail.re4.yahoo.com> X-YMail-OSG: RjVGKQIVM1lVlZqmhiZyDFPGRNgh31HfcuYb437PKZQvIxihNo_pOqE0UoTFn.7Bx25Xy7Br3A07G._E89zwPfMpVyymPASCxxJSCb3FzCYUN3ZGPUqT_hhZffknQ3ooeX.Knm5dgsX18Cwe8Zi19hedfwNDoGZjApdYDWb7IUJUxCQU3pTZAlTJ.gqhwtf3xvexjKfHAS8B1sIJ1BPDaU8Kq0mFHJvN11hg5gnBAbdYG318_iTsburZWNM6E5Y6v0SdLwVdtf8fOOFfoBLeUv5fYQ_13.hhYtkyzf.Vtac0.rgATGX_3HxJ.VEzXbC2cVtQaSJLNkgzHQ-- Received: from [12.68.231.140] by web55105.mail.re4.yahoo.com via HTTP; Wed, 06 May 2009 10:11:58 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Wed, 6 May 2009 10:11:58 -0700 (PDT) From: Matt Benson Subject: Re: fileset based on paths in file To: Ant Users List , patrik.nagel@gmx.ch MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org I'm quite late to this party, but bear in mind Ant 1.7 also includes a collection which has no basedir whatsoever if you ever need to combine files from various volumes. HTH, Matt --- On Sun, 5/3/09, Patrik Nagel wrote: > From: Patrik Nagel > Subject: Re: fileset based on paths in file > To: "David Weintraub" , "Ant Users List" > Date: Sunday, May 3, 2009, 12:39 PM > It's for a fileset. I tried the > "includesfile" attribute from the > fileset task. It does exactly what I'm looking for! > > Tanks a lot! > Patrik > > David Weintraub wrote: > > Is this for a path or a fileset? There's a big > difference. A path is > > simply a collection of directories while a fileset > selects files in a > > directory. > > > > If this is for a path, you could use a properties file > and separate > > those directories via a colon or semicolon. > > > > If this is a fileset, you can try using the > "includefile" attribute. > > For example: > > > > > > includefile="${my.include.file}/> > > > > And the include file will look like this: > > > > home/dev/src/reporting/** > > home/dev/src/common/** > > home/testing/src/logger/** > > > > On Sat, May 2, 2009 at 2:46 PM, Patrik Nagel > wrote: > > > >> Hi, > >> > >> I would like to create a fileset based on paths > which have no base directory > >> in common. Additionally, the paths are stored in a > text file. > >> > >> Such a text file might looks as follows: > >> /home/dev/src/reporting > >> /home/dev/src/common > >> /home/testing/src/logger > >> > >> Is there a way to read the paths from the text > file and "add" them to a > >> fileset? Within this fileset I would apply a > filename selector to collect > >> all build.xml files. Note that the fileset is used > as a child within an > >> ivy:buildlist task. > >> > >> Any help would be appreciated! > >> > >> Regards, > >> Patrik > >> > >> > --------------------------------------------------------------------- > >> 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org