Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 39508 invoked from network); 2 May 2002 17:33:24 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 May 2002 17:33:24 -0000 Received: (qmail 11124 invoked by uid 97); 2 May 2002 17:33:18 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@nagoya.betaversion.org Received: (qmail 11008 invoked by alias); 2 May 2002 17:33:17 -0000 Delivered-To: jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 10984 invoked by uid 97); 2 May 2002 17:33:17 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 10972 invoked by uid 98); 2 May 2002 17:33:16 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Joe Celentano" To: "Ant Users List" Subject: RE: building with 3rd party libraries Date: Thu, 2 May 2002 13:29:35 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <016901c1f1f0$e26c7bd0$efb1e40f@nordwand> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Steve Loughran wrote: > > First, when creating a war or jar file, do you include all 3rd party > > libraries necessary for your application to run/compile or not? > > yes for a WAR, no for a jar > Our app is is ultimately packaged in an EAR. I've been including all dependent 3rd party libs in the manifest classpath for each webapp war and ejb or common jar. So my ear might contain: webapp1.war webapp2.war ejb.jar common.jar struts.jar otherlib.jar And each jar or war's manifest declares its dependency. I don't use the WEB-INF/lib at all. Thus, no 3rd party libs are ever included in wars or jars, just the final ear file. Anybody have any comments or improvements on this? Joe -- To unsubscribe, e-mail: For additional commands, e-mail: