webtier@glassfish.java.net

ProGuard, WEB-INF/lib/classes.jar, and ManagedBean annotations

From: <webtier_at_javadesktop.org>
Date: Sun, 15 Nov 2009 15:50:30 PST

I use the obfuscator ProGuard to obfuscate my demo war file. ProGuard requires you to jar up the files under WEB-INF/classes into WEB-INF/lib/classes.jar.

Jarrng up the class files, even without running ProGuard, causes the ManagedBean annotations to fail and the managed beans are not found.

Is this a bug or is there some way to make it work? The workaround of course is to declare the managed beans in the faces-config file as before.
[Message sent by forum member 'judys' ]

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