IntelliJ IDEA 11.1 Web Help

10.5+
Some features described here are available in Ultimate edition only.

File | Settings | Application Servers for Windows and Linux
IntelliJ IDEA | Preferences | Application Servers for Mac OS
Configure when editing a run/debug configuration for an application server in the Run/Debug Configurations dialog.


Use this dialog to add and remove configurations for the supported application servers, and also to manage the associated libraries.

Different application servers have similar settings. However, the available fields may vary depending on the specific application server type.

Toolbar buttons

Item Shortcut Description
add Add InsertInsert Click this button to add an application server configuration.
delete Remove DeleteDelete Click this button to remove the selected application server configuration.

Name, Server Home and Version

Item Description
Name Use this field to edit the name of the server configuration.
<Server> Home Specify the path to the application server installation folder.

If necessary, use browseButton to open the Select Path dialog box.

<Server> Version The detected application server version (readonly).

Libraries

Use the controls in this area to manage the contents of the libraries associated with the server configuration.

Item Description
add (Alt+InsertControl N ) Use this icon or shortcut to add items to the library. Select one of the following options:
  • Attach Files or Directories. Select this option to add classes, sources and documentation available locally.

    In the Select Path dialog, select the necessary files and folders. These may be individual .class, .java, .jar and .zip files, the directories containing such files, etc. Note that a number of files and folders can be selected simultaneously.

    IntelliJ IDEA will analyze the selected files and folders, and automatically assign their contents to the appropriate library categories (Classes, Sources, Documentation, etc.).

    In cases when detection of a category is problematic (e.g. when you select an empty folder), a dialog will be shown, in which you will be able to specify the category yourself.

  • Specify Documentation URL. To be able to use external documentation available online, select this option, and specify the URL of the external documentation in the dialog that opens.
delete (Alt+DeleteCommand Delete) Use this icon or shortcut to remove the selected items from the library.

Configuration file list (for Jetty 7 or later versions)

For Jetty 7 or later versions, there is a section for managing the configuration file list. This section is located below the field that shows the Jetty version.

The configuration file list section provides a GUI for editing the file <jetty_home>\start.ini from IntelliJ IDEA. (start.ini contains the arguments of <jetty_home>\start.jar which is used to start Jetty.)

IntelliJ IDEA provides a two-way synchronization between the configuration file list and the start.ini file.

To render the configuration file list, IntelliJ IDEA reads the start.ini file each time the Application Servers dialog is opened. On the other hand, all the changes made to the configuration file list in IntelliJ IDEA are immediately saved in start.ini.

Using the available controls, you can make the configuration files active or inactive, add, replace and remove the files as well as change their order.

Item Description
Active Use the check boxes next to the corresponding Jetty configuration files to select or deselect these files.

As soon as you deselect a file, the corresponding line in start.ini is commented. When you make a file active, the corresponding entry in start.ini is uncommented.

Path The paths to the corresponding Jetty configuration files are shown (readonly).

For the files located within the Jetty installation directory and its subdirectories, the paths are relative to Jetty home (that is, the installation directory). For all the rest of the configuration files, the absolute paths are shown.

add (Alt+InsertControl N ) Use this icon or shortcut to add a configuration file to the list. In the Select Path dialog, select the necessary Jetty configuration file and click OK.

Adding a file to the list leads to adding a new (commented) entry to start.ini.

editFlexLibrary (EnterEnter) Use this icon or shortcut to replace the selected file with a different Jetty configuration file. In the Select Path dialog, select the replacement configuration file and click OK.
delete (Alt+DeleteCommand Delete) Use this icon or shortcut to remove the selected file from the list. Note that this operation does not delete the file physically. However, the corresponding entry is removed from start.ini.
arrowUp (Alt+UpControl Up) or arrowDown (Alt+DownControl Down) Use this icon or shortcut to move the selected file one line up or down in the list.

Note that the order of configuration files in the list is important because it corresponds to the order of arguments passed to start.jar when starting Jetty.

See Also

Procedures:

Reference:

External Links:

Web Resources: