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

alesj do-not-reply at jboss.com
Mon Sep 15 07:46:08 EDT 2008


"adrian at jboss.org" wrote : 
  | The VFSResourceVisitor should already exclude other roots
  | if they are nested within another root.
  | 
It does.

It's an issue when lib is not part of classpath / roots,
e.g. explicitly excluded with library-directory application.xml element.

Then VRVisitor still visits lib directory, picking up annotated classes,
although when we declared ear's root as classpath entry,
we probably only wanted to do that to pick some .properties / .xml resources,
not excluded lib's jars.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176485#4176485

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



More information about the jboss-dev-forums mailing list