You can create Griffon Application modules. IntelliJ IDEA generates the necessary infrastructure. You can view module structure in the Griffon tool window, and use framework-specific commands.
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.
- If you are going to create a new project: click Create New Project on the Welcome screen or select File | New Project.
- On the first page of the wizard, in the left-hand pane, select Griffon.
- In the right-hand part of the page, specify the associated settings and click Finish. (See the descriptions of the settings for a new project or for an existing project.)
12.0+In the dialog box that opens, select the Griffon structure that you want to execute. IntelliJ IDEA lets you create and execute the following Griffon structures:
- Create an application (create-app) - creates Griffon application.
- Create a plugin (create-plugin) - creates Griffon plugin.
- Create an addon (create-addon) - creates Griffon addon.
- Create an archetype (create-archetype) - creates Griffon archetype.
You can also specify additional options in the Additional Options field such as file types. For example, -fileType=java. The default file type is groovy.Click OK.