Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 94869 invoked from network); 23 Sep 2003 11:55:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Sep 2003 11:55:20 -0000 Received: (qmail 34344 invoked by uid 500); 23 Sep 2003 11:55:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 34309 invoked by uid 500); 23 Sep 2003 11:55:08 -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 34294 invoked from network); 23 Sep 2003 11:55:07 -0000 Received: from unknown (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 23 Sep 2003 11:55:07 -0000 Received: from preilly.local.corvil.com (preilly.local.corvil.com [172.18.1.173]) by corvil.com (8.12.9/8.12.5) with ESMTP id h8NBt7xe045184 for ; Tue, 23 Sep 2003 12:55:07 +0100 (IST) (envelope-from peter.reilly@corvil.com) From: peter reilly Organization: corvil To: Ant Users List Subject: Re: Fileset restrictions Date: Tue, 23 Sep 2003 12:55:03 +0100 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200309231255.03324.peter.reilly@corvil.com> 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 You could use copy with mapper to copy the files into a staging area and then war them into the war file. Peter On Tuesday 23 September 2003 12:50, Spencer Phil (KTXA 2) wrote: > The problem is that I don't know what they are! > > The list is created dynamically. > > Unless there is a way of crating filesets dynamically > > Phil > > -----Original Message----- > From: Antoine L=E9vy-Lambert [mailto:antoine@antbuild.com] > Sent: Tuesday, September 23, 2003 1:46 PM > To: Ant Users List > Subject: AW: Fileset restrictions > > > You need to archive in your war 3 filesets > > > > > > > > > > > > > > mappers are supported in the copy task, but I am not sure whether they are > supported in the war task. > > Cheers, > > Antoine > > -----Urspr=FCngliche Nachricht----- > Von: Spencer Phil (KTXA 2) [mailto:phil.spencer@credit-suisse.com] > Gesendet: Dienstag, 23. September 2003 13:37 > An: 'user@ant.apache.org' > Betreff: Fileset restrictions > > > I want to create a fileset that defines a bunch of files in parallel > directories. e.g. given the directory structure > > a/b/c/h/file1.xxx > a/b/c/h/file2.yyy > d/e/c/h/file3.xxx > d/e/c/h/file4.yyy > f/g/c/h/file5.xxx > f/g/c/h/file6.yyy > > I dynamically create the set of file patterns I want to create in > a property ${patterns} > > Now, operating in the directory f/g for example I want a fileset > (in a war task for example) that includes the files > > a/b/c/h/file1.xxx > d/e/c/h/file4.yyy > f/g/c/h/file5.xxx > f/g/c/h/file6.yyy > > with the relative directories > > h/file1.xxx > h/file4.yyy > h/file5.xxx > h/file6.yyy > > The problem is that if ${patterns}=3Da/b/**/*.xxx,d/e/**/*.yyy,f/g/**/* > > > > produces the correct list of files with wrong relative directories > > a/b/c/h/file1.xxx > d/e/c/h/file4.yyy > f/g/c/h/file5.xxx > f/g/c/h/file6.yyy > > and if ${patterns}=3D../../a/b/**/*.xxx,../../d/e/**/*.yyy,../../f/g/**/* > > > > produces nothing !! This seems to be a severe restriction on filesets. > > I should emphasize, the content of ${patterns} is dynamically created so I > can't achieve what I want with a static list of filesets. > > Am I missing some simple solution to this problem? > > Phil > > > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org