On Thu, 30 Dec 2004 14:23:44 -0600, Heath Borders <[EMAIL PROTECTED]> wrote: > Well, the problem is that the FacesConfigurator only searches > WEB-INF/lib and META-INF/services for jars with the faces-config.xml > file. > > Does this mean that during startup, we should try to check every jar > in the current thread's classloader hierarchy for jars with > faces-config.xml? That seems like it would take a lot of time. >
That's one way to do it. The other would be to note that FacesConfigurator could acquire the knowledge of the class loader *it* was loaded from (this.getClass().getClassLoader()), and only search that one -- or, if it's actually a URLClassLoader, you could even scan for just the correct JAR file name(s). Craig

