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

Learn how our document data model can map directly to how you program your app, and native database features like secondary indexes, geospatial and text search give you full access to your data. Brought to you in partnership with MongoDB.

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!

Discover when your data grows or your application performance demands increase, MongoDB Atlas allows you to scale out your deployment with an automated sharding process that ensures zero application downtime. Brought to you in partnership with MongoDB.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}