Omitting J2EE descriptors when compiling

How can you tell IDEA that if there are no J2EE descriptors (ejb-jar.xml, ...) in the EJB module the archive is still valid during project compilation?

So that one can be able to package new EJB3 archives (.par, .ejb3, .har, .aop, ..., which don't necessarily need descriptors) into app's .ear archive.

Rgds, Ales

Please sign in to leave a comment.