https://jira.jboss.org/jira/browse/JBAS-5895
This looks like a problem of EARStructure
not explicitly excluding ear's lib directory?
I cannot find library-directory element as part of EarMetaData:
-
http://anonsvn.jboss.org/repos/jbossas/projects/metadata/trunk/src/main/j...
So this might be a reason why it wasn't excluded - you put the element in spec file.
But on the other hand I see this in EARStructure:
| // Add the ear lib contents to the classpath
| String libDir = appMetaData.getLibraryDirectory() == null ? "lib" :
appMetaData.getLibraryDirectory();
|
Hence if emtpy library-directory is parsed as null,
then we would always get lib as default.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175789#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...