Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-308

META-INF/lib or APP-INF/lib for third-party jars in EARs

    XMLWordPrintableJSON

Details

    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

      Attachments

        Activity

          People

            dblevins David Blevins
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: