Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-beta-1
-
None
Description
Automatically load all libs found in the META-INF/lib/ or APP-INF/lib directory of an EAR file.
Take the following example where JUnit would be added to the classpath of the EAR without having to be in the Class-Path entry of the MANIFEST.MF
$ jar tvf itests/openejb-itests-app/target/openejb-itests-app-3.0-incubating-SNAPSHOT.ear
0 Tue Nov 14 04:17:16 PST 2006 META-INF/
481 Tue Nov 14 04:17:14 PST 2006 META-INF/MANIFEST.MF
0 Tue Nov 14 04:17:16 PST 2006 META-INF/lib/
560 Tue Nov 14 04:17:16 PST 2006 META-INF/application.xml
121070 Tue Nov 14 04:17:16 PST 2006 META-INF/lib/junit-3.8.1.jar
103130 Tue Nov 14 04:17:16 PST 2006 openejb-itests-beans-3.0-incubating-SNAPSHOT.jar
202682 Tue Nov 14 04:17:16 PST 2006 openejb-itests-client-3.0-incubating-SNAPSHOT.jar