aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1460997 - /aries/trunk/blueprint/blueprint-web/src/main/java/org/apache/aries/blueprint/web/BlueprintContextListener.java
Date Tue, 26 Mar 2013 07:10:56 GMT
Author: gnodet
Date: Tue Mar 26 07:10:56 2013
New Revision: 1460997

URL: http://svn.apache.org/r1460997
Log:
improvement for ARIES-1038 to avoid the ServletContext.getResourcePaths as we should only
really use the classpath to avoid errors in tomcat6

Modified:
    aries/trunk/blueprint/blueprint-web/src/main/java/org/apache/aries/blueprint/web/BlueprintContextListener.java

Modified: aries/trunk/blueprint/blueprint-web/src/main/java/org/apache/aries/blueprint/web/BlueprintContextListener.java
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/blueprint-web/src/main/java/org/apache/aries/blueprint/web/BlueprintContextListener.java?rev=1460997&r1=1460996&r2=1460997&view=diff
==============================================================================
--- aries/trunk/blueprint/blueprint-web/src/main/java/org/apache/aries/blueprint/web/BlueprintContextListener.java
(original)
+++ aries/trunk/blueprint/blueprint-web/src/main/java/org/apache/aries/blueprint/web/BlueprintContextListener.java
Tue Mar 26 07:10:56 2013
@@ -45,8 +45,7 @@ public class BlueprintContextListener im
         if (location == null) {
             location = DEFAULT_LOCATION;
         }
-        Set<URL> resourcePathSet = servletContext.getResourcePaths(location);
-        List<URL> resourcePaths = new ArrayList<URL>(resourcePathSet);
+        List<URL> resourcePaths = new ArrayList<URL>();
         ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
         try {
             Enumeration<URL> resources = classLoader.getResources(location);



Mime
View raw message