EJB facet: module source missing, how to include it..?

One of my modules contains an EJB facet,
but module source doesn't show up within facet dependencies (nor it ever get compiled)
Now I can easy add another module dependency, but how to tell Idea to compile own module sources?



btw: I see "Module source"> within dependencies tab and I am using latest EAP build, and generating project from maven pom's..

tia,
-m

0
Avatar
Alexander Chernikov

Hello M. J. Milicevic,

One of my modules contains an EJB facet,
but module source doesn't show up within facet dependencies (nor it
ever get compiled)
Now I can easy add another module dependency, but how to tell Idea to
compile own module sources?
btw: I see "Module source"> within dependencies tab and I am using
latest EAP build, and generating project from maven pom's..

tia,
-m


Are you using Diana? Please, make sure that "Source roots for EJB classes"
section in EJB facet settings has your module's source root checked On.

Alexander.


0

yeah, thanks it helped, but it is confusing:
I am still wondering why is this different with other module settings (e.g. in a webmodule, you can choose to include, include and jar, include and copy or exclude your module sources ina dropdown, within EJB module this is not possible)

0

请先登录再写评论。