From ant-dev-return-23097-qmlist-jakarta-archive-ant-dev=jakarta.apache.org@jakarta.apache.org Wed Jan 16 09:28:50 2002 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 19344 invoked from network); 16 Jan 2002 09:28:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Jan 2002 09:28:50 -0000 Received: (qmail 8880 invoked by uid 97); 16 Jan 2002 09:29:00 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 8864 invoked by uid 97); 16 Jan 2002 09:28:59 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 8853 invoked from network); 16 Jan 2002 09:28:59 -0000 Date: Wed, 16 Jan 2002 10:20:58 +0100 (CET) From: Holger Engels X-X-Sender: To: Ant Developers List Subject: RE: GenericDeploymentTool and ejb In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 16 Jan 2002, David Bullock wrote: > Yup. Basically, the JAR manifest entry 'Class-Path' rocks :-) More Java > developers need to know about this one. > > It is a requirement of the J2EE spec that application servers given an > EAR file must respect the Class-Path attribute, and interpret path paths > relative to the location of the ejb.jar inside the app.ear file. > > ie. > > /APP.EAR > /ejb.jar > /META-INF > /MAINFEST.MF ( contains entry 'Class-Path: support.jar' ) > /support.jar > > > I feel this is 'best current practice', and is preferrable to putting all > dependent classes in ejb.jar ... when the new task is released, it would > be good to NOT make it ship with dependency-bundling turned on by > default, IMHO. > Well, I don't like the Manifest-approach. Although I have written a custom task, that creates a manifest file with a Class-Path entry from a nested path element. I think they should add a war-like mechanism to the ejb-spec. Conor: yes, I will enhance the ejbjar documentation soon. Cheers, Holger -- To unsubscribe, e-mail: For additional commands, e-mail: