Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 34256 invoked from network); 15 Oct 2003 08:07:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Oct 2003 08:07:27 -0000 Received: (qmail 45031 invoked by uid 500); 15 Oct 2003 08:06:53 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 45001 invoked by uid 500); 15 Oct 2003 08:06:53 -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 44976 invoked from network); 15 Oct 2003 08:06:52 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 15 Oct 2003 08:06:52 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A9ggT-0004Oz-00 for ; Wed, 15 Oct 2003 10:07:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@ant.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9ggR-0004Or-00 for ; Wed, 15 Oct 2003 10:07:03 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A9ggR-0000Hj-00 for ; Wed, 15 Oct 2003 10:07:03 +0200 From: Thomas Quas Subject: RE: libraries & flat hierarchy Date: Wed, 15 Oct 2003 10:07:03 +0200 Lines: 130 Message-ID: References: <879A5AD5DD0ED511891F0003473A9B5608FF716E@Z011004> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity. (Debian GNU/Linux)) Sender: news 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 On Tue, 14 Oct 2003 18:16:58 +0200, Jan.Materne wrote: > I think you have to copy them to a tmp-dir. supports nested > s. > does not. > > Jan True. Seems like this is one solution. However, exactly the one I want to avoid. There is no point in copying files and introducing another source of potential problems. I guess I'd have to file a feature request!? Thanks, -tom > >> -----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 >> -- 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