Issue Type: Bug Bug
Affects Versions: 2.0.0.Alpha3
Assignee: Unassigned
Components: Bootstrap and Metamodel API
Created: 30/Oct/12 1:40 PM
Description:

The URLScanner looks for beans.xml files in the ResourceLoader
then it gets the URLs of those beans.xml files
And performs directory scanning starting at the root of where the classes should be. It looks for all .class files.

The only problem with this is, it does not respect the ResourceLoader. In fact, it does not use the ResourceLoader at all to verify that the .class files it found are actually accessible from the ResourceLoader itself. It just does a filesystem scan. This results in weld throwing lots of WARNINGs
Because it has class names that result in CNFE so you get errors like:

Not generating bean definition from "org.example.Bean" because of underlying class loading error: NoClassDefFoundException: org.example.Bean
Project: Weld
Priority: Major Major
Reporter: Lincoln Baxter III
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira