geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf Bergner <olaf.berg...@saxsys.de>
Subject Suggestion to improve packaging of ejb-jars
Date Wed, 18 Mar 2009 21:33:50 GMT

I have several ejb-jar packaged inside an ear. Libraries to be shared between
some or all of these ejb-jars are placed inside the encompassing ear's "lib"
directory, as decreed by the standard. Some libraries, however, are local to
the using ejb-jar, i.e. they don't need to be shared.

I tried to package these libraries inside the using ejb-jar, creating
appropriate Class-Path entries in that ejb-jar's manifest file. This,
however, leads to a deployment error as obviously the Class-Path entries in
the ejb-jar's manifest file are resolved relative to the enclosing ear and
are therefore not found.

Suggestion: make Geronimo resolve those dependencies relative to the ejb-jar
declaring them. Same goes for rars.

What do you think?

Cheers,
Olaf
-- 
View this message in context: http://www.nabble.com/Suggestion-to-improve-packaging-of-ejb-jars-tp22588998s134p22588998.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message