myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek (JIRA)" <>
Subject [jira] Commented: (MYFACES-208) faces-config.xml is only found in jar files located in WEB-INF/lib
Date Fri, 19 Aug 2005 11:06:57 GMT
    [ ] 

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.



> faces-config.xml is only found in jar files located in WEB-INF/lib
> ------------------------------------------------------------------
>          Key: MYFACES-208
>          URL:
>      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:
For more information on JIRA, see:

View raw message