Add facets to modules

Hi.

I'm on a project where we have a number of modules, ejb, web and other. We are now introducing Spring to the project, and therefore I would like to add Spring facets, (and of course other types as well). The problem is that the facets menu only appears in a few of the modules. Why is that? I can't see any fundamental difference between the modules that has the menu choice available and those who don't. Does anyone of you out there experience something similar?


André

4 comments

Hello Andre M.Bonkowski,

I'm on a project where we have a number of modules, ejb, web and
other. We are now introducing Spring to the project, and therefore I
would like to add Spring facets, (and of course other types as well).
The problem is that the facets menu only appears in a few of the
modules. Why is that? I can't see any fundamental difference between
the modules that has the menu choice available and those who don't.
Does anyone of you out there experience something similar?


Which exactly facets menu do you mean? To add a facet to a module, open the
Project Structure dialog, select the module and press the + button on the
toolbar. The menu will contain the list of all facets that can be added to
the module (some facets can only be added once, so they will not appear in
the menu if they are already added to the module).

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Hi Dmitry.

That is what I do, but the problem is that the facets list are empty for most of the modules. The only menu item is module. One maybe important detail is that the project files are generated by the maven 1.1 plugin, which does not generate Idea 7 project files, but for an (much?) older version.

André

0

Hello Andre M.Bonkowski,

That is what I do, but the problem is that the facets list are empty
for most of the modules. The only menu item is module. One maybe
important detail is that the project files are generated by the maven
1.1 plugin, which does not generate Idea 7 project files, but for an
(much?) older version.


Why don't you use the IntelliJ IDEA Maven integration to import the Maven
pom.xml files?

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Hi again.

I have tried to import the maven projects, but I get a message telling me there is nothing to import. I guess it's because we still are "struggling" with maven 1.1. I have proposed that we should upgrade to maven 2, but for some reason they decided not to to that (yet). The rest of the developers in the project are using Eclipse, but I have tried Eclipse several times but I always comes back to IntelliJ.

0

Please sign in to leave a comment.