Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 10523 invoked from network); 14 Oct 2003 16:17:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Oct 2003 16:17:14 -0000 Received: (qmail 19904 invoked by uid 500); 14 Oct 2003 16:17:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 19629 invoked by uid 500); 14 Oct 2003 16:16:57 -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 19615 invoked from network); 14 Oct 2003 16:16:57 -0000 Received: from unknown (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by daedalus.apache.org with SMTP; 14 Oct 2003 16:16:57 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id h9EGGu5O015988 for ; Tue, 14 Oct 2003 18:16:56 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19) id <4X6GQ6P5>; Tue, 14 Oct 2003 18:16:58 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF716E@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: RE: libraries & flat hierarchy Date: Tue, 14 Oct 2003 18:16:58 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3926E.97A92B50" 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 ------_=_NextPart_001_01C3926E.97A92B50 Content-Type: text/plain; charset="iso-8859-1" I think you have to copy them to a tmp-dir. supports nested s. does not. Jan > -----Original Message----- > From: Thomas Quas [mailto:tquas@yahoo.com] > Sent: Tuesday, October 14, 2003 6:11 PM > To: user@ant.apache.org > Subject: RE: libraries & flat hierarchy > > > Hmm, now I have > > webxml="${build.etc}/web.xml"> > > > > > > which results in > > BUILD FAILED > file:/projects/my/build.xml:655: Class > org.apache.tools.ant.types.ZipFileSet doesn't support the > nested "mapper" > element. > > ?????? > > > -tom > > > On Tue, 14 Oct 2003 17:14:09 +0200, Jan.Materne wrote: > > > Use a > > > > Jan > > > > > > > >> -----Original Message----- > >> From: Thomas Quas [mailto:tquas@yahoo.com] > >> Sent: Tuesday, October 14, 2003 5:08 PM > >> To: user@ant.apache.org > >> Subject: libraries & flat hierarchy > >> > >> > >> Hi All, > >> > >> I have the following directory structure for third-party libraries: > >> packageA/x.jar > >> packageB/y.jar > >> > >> Now, my build script tries to collect all libs and put them under > >> WEB-INF/lib: > >> > >> >> webxml="${build.etc}/web.xml"> > >> > >> > >> > >> ... > >> > >> Unfortunately, this results in: > >> > >> $ jar -tvf my.war > >> 0 Wed Sep 10 12:18:38 CEST 2003 WEB-INF/lib/packageA/ > >> 311711 Wed Sep 10 12:18:38 CEST 2003 WEB-INF/lib/packageA/x.jar > >> 0 Wed Sep 10 12:18:38 CEST 2003 WEB-INF/lib/packageB/ > >> 311711 Wed Sep 10 12:18:38 CEST 2003 WEB-INF/lib/packageB/y.jar > >> ... > >> > >> How can I flatten the hierarchy under lib? Is there an option > >> to filesets > >> that I missed? > >> > >> > >> Thanks for your suggestions, > >> > >> -tom > >> -- > >> thomas quas | "The truth indeed has never been > >> preached by the Buddha, > >> tquas@yahoo.com | seeing that one has to realize it > >> within oneself." > >> | -- Lamkara Sutra -- > >> > >> > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > >> For additional commands, e-mail: user-help@ant.apache.org > >> > -- > thomas quas | "The truth indeed has never been > preached by the Buddha, > tquas@yahoo.com | seeing that one has to realize it > within oneself." > | -- Lamkara Sutra -- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > ------_=_NextPart_001_01C3926E.97A92B50--