Author: dan.j.allen
Date: 2009-05-01 02:49:05 -0400 (Fri, 01 May 2009)
New Revision: 2640
Modified:
extensions/trunk/servlet/int/src/main/java/org/jboss/webbeans/environment/servlet/discovery/ServletWebBeanDiscovery.java
Log:
WBX-38
Modified:
extensions/trunk/servlet/int/src/main/java/org/jboss/webbeans/environment/servlet/discovery/ServletWebBeanDiscovery.java
===================================================================
---
extensions/trunk/servlet/int/src/main/java/org/jboss/webbeans/environment/servlet/discovery/ServletWebBeanDiscovery.java 2009-05-01
01:56:45 UTC (rev 2639)
+++
extensions/trunk/servlet/int/src/main/java/org/jboss/webbeans/environment/servlet/discovery/ServletWebBeanDiscovery.java 2009-05-01
06:49:05 UTC (rev 2640)
@@ -75,7 +75,7 @@
private void scan()
{
Scanner scanner = new URLScanner(Reflections.getClassLoader(), this);
- scanner.scanResources(new String[] { "beans.xml" });
+ scanner.scanResources(new String[] { "/META-INF/beans.xml" });
try
{
URL beans = servletContext.getResource("/WEB-INF/beans.xml");