-
Bug
-
Resolution: Done
-
Major
-
7.1.0.Alpha1
According to the JEE 6 specification, section EE.8.2.1 (Bundled Libraries), Class-path entries—in META-INF/MANIFEST.MF of a sub-deployment module—pointing to resources directories within the EAR could be used by the application developer to add these directories to the classpath of the sub-module. However, this functionality has not yet been implemented in the JBoss AS7.1 (alpha-2 nightly build).
Relevant JEE 6 spec, section EE.8.2.1, quotes:
Class-Path: list-of-jar-files-or-directories-separated-by-spaces
Only JAR format files or directories containing class files or resources to be loaded directly by a standard class loader should be the target of a Class-Path reference; such files are always named with a .jar extension.
The support for this functionality is required by the specification for the JBoss AS7.1 to be fully JEE 6 compliant.
Side note: This functionality is supported in JBoss 5.1, Weblogic, and WebSphere.