choigv / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 0 forks source link

Reflections is not scanning #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I create simple project with:
  - MacOS
  - JBoss-as-7.1.1.Final
  - Reflections 0.9.8

I put a ServletContextListener with start code:

    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        Logger.getLogger("default").log(Level.INFO, "STARTING REFLECTIONS");
        Reflections reflect = new Reflections("testing");
        Set<Class<?>> list = reflect.getTypesAnnotatedWith(AnnotationToBeScanned.class);
        Logger.getLogger("default").log(Level.INFO, "REFLECTED = " + list.size());
    }

With Jetty this code print "REFLECTED = 1" but with JBOSS this code print 
"REFLECTED = 0"

I try to add jboss-vfs package but doesn't work. 

Attached test project.

Original issue reported on code.google.com by uetanaba...@gmail.com on 7 Sep 2012 at 2:21

Attachments:

GoogleCodeExporter commented 9 years ago
fixed on trunk, comments are welcomed

Original comment by ronm...@gmail.com on 20 Feb 2013 at 9:04