IntelliJ IDEA 11.1 Web Help

File | Project Structure | Artifacts
Ctrl+Alt+Shift+SCommand Semicolon


Use the Artifacts page to configure the layouts of project artifacts, define which activities should be performed after the corresponding artifacts are built, and optionally enable the use of server-specific validators. This topic describes the controls that are common for all of the tabs.

When you click an artifact in the list or create a new one, the Artifact pane opens, displaying the following tabs:

Note

The set of tabs depends on the type of the artifact for which the layout is currently being defined or edited.

Toolbar

Use the toolbar buttons to manage the list of the artifact layouts.

Item Tooltip and Shortcut Description
add New
Alt+InsertControl N
Click this button to add and configure a new artifact layout. From this drop-down list, select the desired artifact type. The available options are:
  • Jar: empty, or from modules with dependencies.

The following is available only in the Ultimate edition of IntelliJ IDEA

  • Web Application: Exploded
  • Web Application: Archive
  • JavaEE Application: Exploded
  • JavaEE Application: Archive
  • EJB Application: Exploded
  • EJB Application: Archive
  • Other
delete Delete
DeleteDelete
Click this button to remove the selected artifact layout from the list.
find Find Usages
Alt+F7Alt F7
Click this button to view a list of artifact layouts in which the selected layout is included.

Artifact general settings

Item Description
Name In this text box, specify the name of the artifact.
Type Use this drop-down list to view or change the type of the selected artifact.
Output directory In this text box, specify the target location of the artifact. If the artifact will not be used independently but only within other artifacts, the text box may be left empty. In this case it will not appear on the context menu on choosing Build | Build Artifact on the context menu and no target will be generated for it in build.xml on choosing Build | Generate Ant Build.
Build on make Select this check box to have the artifact built upon project make.
Show contents of elements Select this check box to show contents of all of the elements (library files, included artifacts, JavaEE facets, and JPA resources). If you want to show certain elements only, click the ellipsis button, and check the desired elements in the list.

See Also

Concepts:

Procedures:

Reference:

Web Resources: