[jboss-dev-forums] [Design of POJO Server] - JBAS-5895; Processing too many classes

alesj do-not-reply at jboss.com
Thu Sep 11 04:46:19 EDT 2008


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/java/org/jboss/metadata/ear/spec/EarMetaData.java
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#4175789

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175789



More information about the jboss-dev-forums mailing list