[ http://issues.apache.org/jira/browse/MYFACES-208?page=comments#action_12319347 ]
Martin Marinschek commented on MYFACES-208: ------------------------------------------- I have evaluated this and Chris is absolutely right - there is a difference in how MyFaces and the RI handle this specific issue. I am d'accord with him that the RI will find more META-INF/faces-config.xml files than MyFaces, furthermore, the MyFaces way of doing things is here much more complicated and error prone, I would say. I don't know though if this specific code was added to ensure compatibility with a certain Servlet container, so I am assigning this bug to Manfred to recheck this. regards, Martin > faces-config.xml is only found in jar files located in WEB-INF/lib > ------------------------------------------------------------------ > > Key: MYFACES-208 > URL: http://issues.apache.org/jira/browse/MYFACES-208 > Project: MyFaces > Type: Bug > Components: General > Environment: Fedora Core 3 > JBoss/Jetty 3.2.1 > Reporter: Chris Rudd > Priority: Blocker > > When scaning for faces-config.xml files it currently only looks for them > inside the jars of WEB-INF/lib. > The RI scans the classpath via a getResources("META-INF/faces-config.xml"). > Im not sure which is correct, but it seems the RI's method is better as it > allows the config files to exist in the WEB-INF/classes dir as well as allow > JSF components and such to be installed into the container (thus shared will > all apps). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
