myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r924402 - /myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/webapp/webxml/WebXmlParser.java
Date Wed, 17 Mar 2010 18:26:20 GMT
Author: lu4242
Date: Wed Mar 17 18:26:20 2010
New Revision: 924402

URL: http://svn.apache.org/viewvc?rev=924402&view=rev
Log:
MYFACES-2290 Add OSGi bundle information and bundle classloader / activator (trying to be
nice with OSGi)

Modified:
    myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/webapp/webxml/WebXmlParser.java

Modified: myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/webapp/webxml/WebXmlParser.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/webapp/webxml/WebXmlParser.java?rev=924402&r1=924401&r2=924402&view=diff
==============================================================================
--- myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/webapp/webxml/WebXmlParser.java
(original)
+++ myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/webapp/webxml/WebXmlParser.java
Wed Mar 17 18:26:20 2010
@@ -152,6 +152,10 @@ public class WebXmlParser
         InputStream inStream = ClassUtils.getContextClassLoader().getResourceAsStream(systemId);
         if (inStream == null)
         {
+            inStream = this.getClass().getClassLoader().getResourceAsStream(systemId);
+        }
+        if (inStream == null)
+        {
             // there is no such entity
             return null;
         }



Mime
View raw message