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

You can create a new project with the grails module or add a new grails module to the existing project.

To create a grails application 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 project you 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 Grails Module.
  3. In the right-hand part of the page, specify the associated settings and click Next. (See the descriptions of the settings for a new project or for an existing project.)
  4. On the next page of the wizard, specify Grails SDK. You can also perform the following actions:
    • If you have SDKs for the selected framework already installed, choose one from the list.
    • If you cannot find the desired SDK in the list, click Create. In the dialog box that opens, choose a directory that contains Grails distribution.
    • If you need to edit a selected SDK, click Configure. In the Edit Library dialog, make the necessary changes.

    Click Finish.

  5. In the dialog box that opens, select the type of target to be executed. You can opt to create an application, or a plugin:

    groovy_enableGroovySupport4.png

    The progress messages are displayed in the Console tool window.

See Also

Concepts:

Procedures:

External Links:

Web Resources: