Artifacts
When you select the Artifacts category in the Project Structure dialog, the list of existing artifact configurations is shown in the element selector pane.
Use the toolbar icons, context menu commands or keyboard shortcuts to manage these configurations.
To view or edit the settings for an artifact, select the artifact of interest, and use the Artifact page to the right of the selector pane.
Toolbar icons, context menu commands and shortcuts
Artifact page
Use the Artifact page to configure the artifact layout, to define which activities should be performed after the artifact is built, and, optionally, to enable the use of server-specific validators.
General artifact settings are listed and briefly explained below. More specific settings are available on the following tabs:
Note that the set of tabs depends on the artifact type.
General artifact settings
Item | Description |
---|---|
Name | Use this field to edit the name of the artifact configuration. |
Type | Select the artifact type. |
Output directory |
Specify the path to the artifact output directory.
Use (Shift+Enter)
to select the directory in the Output Directory for Artifact dialog.
If the artifact is not going to be used on its own but only as a part of other artifacts,
the field may may be left empty.
In this case the artifact will not appear in the context menu on choosing
and
no target will be generated for it in |
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 only certain categories of elements, click the ellipsis button, and select the desired category in the list. |