IntelliJ IDEA 2019.2 Help

Enabling Tapestry Support

You can enable Tapestry support when creating a project or module, or for an existing module.

Enabling Tapestry support when creating a project or module

  1. Do one of the following:

    • If you are going to create a new project: click Create New Project on the Welcome screen or select File | New | Project.

      As a result, the New Project wizard opens.

    • If you are going to add a module to an existing project: open the projectyou want to add a module to, and select File | New | Module.

      As a result, the New Module wizard opens.

  2. On the first page of the wizard, in the left-hand pane, select Java Enterprise. In the right-hand part of the page, specify the JDK to be used and select the Java EE version to be supported.

  3. Under Additional Libraries and Frameworks, select the Tapestry checkbox.

  4. You'll need a library that implements Tapestry. You can choose to use an existing library, create and use a new one, download the library files if they are not yet available on your computer, or postpone setting up the library until a later time.

    • Use library – select the library to be used from the list (if the corresponding library is already defined in IntelliJ IDEA).

      Create – if the corresponding library files jar are already available on your computer, you can arrange those files in a library and use that new library. To do that, click Create and select the necessary files in the dialog that opens.

      Optionally, click Configure to edit the selected library.

    • Download – Select this option to download the library files that implement Tapestry. (The downloaded files will be arranged in a library.)

      Optionally, click Configure to edit the library settings and contents.

    • Set up library later – select this option to postpone setting up the library until a later time.

    Configure – click this button to edit the settings for the library selected next to Use library or the one that is about to be downloaded.

    Click Next.

  5. Specify the name and location settings.

    Click Finish.

  6. Specify the application filter name and root package in the dialog that opens.

As a result, the Tapestry implementation library is added to module dependencies and a Tapestry facet is created.

Enabling Tapestry support for an existing module

  1. Open the Project tool window (e.g. View | Tool Windows | Project).

  2. Right-click the module of interest and select Add Framework Support.

  3. In the left-hand pane of the Add Frameworks Support dialog that opens, select the Tapestry checkbox.

  4. You'll need a library that implements Tapestry. You can choose to use an existing library, create and use a new one, download the library files if they are not yet available on your computer, or postpone setting up the library until a later time.

    • Use library – select the library to be used from the list (if the corresponding library is already defined in IntelliJ IDEA).

      Create – if the corresponding library files jar are already available on your computer, you can arrange those files in a library and use that new library. To do that, click Create and select the necessary files in the dialog that opens.

      Optionally, click Configure to edit the selected library.

    • Download – Select this option to download the library files that implement Tapestry. (The downloaded files will be arranged in a library.)

      Optionally, click Configure to edit the library settings and contents.

    • Set up library later – select this option to postpone setting up the library until a later time.

    Configure – click this button to edit the settings for the library selected next to Use library or the one that is about to be downloaded.

  5. Click OK in the Add Frameworks Support dialog.

  6. Specify the application filter name and root package in the dialog that opens.

As a result, the Tapestry implementation library is added to module dependencies and a Tapestry facet is created.

Last modified: 23 August 2019

See Also