Adding and Removing Facets
You can add facets to modules as well as remove them.
When adding facets to a module, take into consideration the facet dependencies, and also the possibility to add multiple instances of the same facet.
To add a facet to a module
- Open the Project Structure dialog (Ctrl+Shift+Alt+S).
- Under Project Settings, select Modules.
-
Select the module you want to add a facet to, click
, and select the facet you want to add.
Note that certain facets have other facets as their parents. To add such facets, you should select a parent facet (rather than the module) prior to clicking
.
For example, a parent facet for a JSF or a Struts facet is a Web facet. So a JSF or Struts facet can be added only if a Web facet is currently selected. For more information, see Available Facets and Their Dependencies.
- Configure the facet settings, and click OK in the Project Structure dialog.
To remove a facet from a module
- Open the Project Structure dialog (Ctrl+Shift+Alt+S).
- Under Project Settings, select Modules.
- Expand the module node and select the facet to be removed.
- Click
.
- Click OK in the Project Structure dialog.
Note that no files are physically deleted as a result.
See Also
Last modified: 13 July 2016