webtier@glassfish.java.net

Re: [webtier] Is this JSF2 Bug or am i missing something with Annotations

From: <webtier_at_javadesktop.org>
Date: Wed, 09 Jun 2010 10:14:44 PDT

Ahh, this is probably not a bug, as Ryan asserted.

Spec section 11.5.1 states

"For every jar in the application's WEB-INF/lib directory, if the jar contains a META-INF/faces-config.xml file, or a file that matches the regular expression ".*\.faces-config.xml" (even an empty one) all classes in the jar must be scanned."

When I add a non-empty META-INF/faces-config.xml file it works. But when I add an empty one, I do get an execption on deployment.

I'll fix this under the auspices of the issue I opened on this thread.

Ed
[Message sent by forum member 'edburns']

http://forums.java.net/jive/thread.jspa?messageID=473606