What I want to do is creating a Java module with all my sources and packages, then create an (some) EJB module(s) which get their sources from the Java module.
This doesn't seem to work, when I assign the "src" directory (where my packages and sources reside) to the EJB module as source directory (via adding it as a content root and assigning it as "Sources") it is gone from the Java module (in the package view).
As a workaround I tried to create the EJB classes manually in the Java module (cumbersome...) but then IDEA won't add an EJB to the EJB module (although it adds it to the DD).
Using build#2139, currently upgrading to 2192... will this solve my problem? Don't think so, it seems intentionally that a directory can only be one module's source path...