click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r828873 - /incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
Date Thu, 22 Oct 2009 22:18:03 GMT
Author: sabob
Date: Thu Oct 22 22:18:02 2009
New Revision: 828873

URL: http://svn.apache.org/viewvc?rev=828873&view=rev
Log:
added note about looking up resources from different app servers

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java?rev=828873&r1=828872&r2=828873&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
(original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
Thu Oct 22 22:18:02 2009
@@ -1268,6 +1268,9 @@
         // Find all jars and directories on the classpath that contains the
         // directory "META-INF/resources/", and deploy those resources
         String resourceDirectory = "META-INF/resources/";
+
+        // TODO: finding resources in jars and META-INF/classes might not always
+        // work on all servers. Might need to strip the final '/' from resourceDirectory
         Enumeration<URL> en = classLoader.getResources(resourceDirectory);
         while (en.hasMoreElements()) {
             URL url = en.nextElement();



Mime
View raw message