Conceptual problem with WEB facet

How the heck can I configure Idea to get compiled source code of only one of the source roots into either WEB-INF/classes or WEB-INF/lib?
Currently it seems I can only choose to include the module as a whole?!
My take on facets was that it should enable me to have a single module for an ear including both an EJB jar and a WAR.
Right now all my classes end up in the EJB jar. I can exclude some source roots in the EJB jar settings, but I can't include/exclude them for the war.

Please sign in to leave a comment.