Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Grails 1.2 creates IntelliJ IDEA projects files for you

DZone's Guide to

Grails 1.2 creates IntelliJ IDEA projects files for you

· Java Zone
Free Resource

Try Okta to add social login, MFA, and OpenID Connect support to your Java app in minutes. Create a free developer account today and never build auth again.

As of Grails 1.2-M2 you no longer need to explicitly create new IDEA projects for your grails applications. The grails create-app command will create an appropriate project file with all the required settings for you in the root folder of your newly created grails project.

Point the IntelliJ IDEA Open project dialog to the generated ipr file and you'll get the project open in your favorite IDE.

Once the project is open, press Control + Shift + Alt + S to open the project settings dialog and tell IDEA about your grails installation.

And that's it. Now everything should be setup for you. Press Shift + F10 to see your fresh new app flying in the browser immediatelly or start building your domain, controllers, services and such. Remember to use the Alt + Insert shortcut to save some effort when doing that.

Enjoy Grails development with pleasure!

Build and launch faster with Okta’s user management API. Register today for the free forever developer edition!

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}