Jump-start Griffon development with IntelliJ IDEA

Leveraging the similarities between Grails and Griffon the IntelliJ IDEA team has recently updated Maia, the EAP-accesible preview of the next major IntelliJ IDEA version, with support for Griffon. You can now manage the whole lifecycle of a Griffon application development inside IDEA.


When creating a new project, select the appropriate type of application and IDEA will create the application or plugin for you.

For an existing Griffon application, use the Import Griffon application from existing sources option on the New Project screen to get a project created.

Once your project is loaded, you get a Griffon-specific project view on the left-hand side to see your models, views and controllers nicely organized.

Feel free to make changes to the application directly from a command-line, add libraries or plugins. IDEA will pick up your changes.

One useful tip: to avoid switching the to command-line window every now-and-then, use the Control + Alt + G keyboard shortcut, which will bring up a dialog to type your griffon command and run it for you.

A run configuration for Griffon is also available, so pressing Shift + F10 will compile and run your application.

I wouldn't get far in any serious application without a sound set of tests sitting in the unit and integration test folders. IDEA can run them for you and give you an integrated test report.

Now that's how the Grifon support in IntelliJ IDEA looks like currently. Do you like it? Miss a feature? Have questions? Please, let us know.

Article Type: 
How-to
0
Average: 5 (1 vote)

I'm a passionate software developer, interested in particular in server-side technologies, distributed systems, Domain Specific Languages and modern programming languages. Václav is a DZone Zone Leader and has posted 36 posts at DZone.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

kellyrob replied on Wed, 2009/08/26 - 2:28pm

Great job on this new functionality guys!

I've been playing with it for a bit now, and I did have a question about how plugin dependencies are added to the plugin iml file. The first plugin I added seemed to show up there wihtout problems, but others didn't pickup; is it a manual process?

 

vaclav replied on Thu, 2009/08/27 - 5:59am

That sounds like a bug to me. However, adding multiple plugins works just fine for me with Maia build 10666. The iml file just like the lib dependencies get updated after adding each plugin.

I'd suggest trying the latest build or reporting at  http://www.jetbrains.net/jira/browse/IDEA

newbalance3721 replied on Wed, 2009/09/23 - 2:53am

this is a good access to <a href="http://www.anf-mall.com">Abercrombie and Fitch</a>

kellyjason replied on Wed, 2009/10/21 - 10:57am

http://www.replhandbags.com/21-monogram-denim View of our online outlet store ,the Louis Vuitton replica Monogram Denim collection. it’s made of Monogram Denim Canvas and Oxidizing Cowhide Leather Trimmings, combined all the symbol elements from Louis Vuitton, such as monogram pattern, classic denim canvas, honey colored leather trimmings. A must have collection for Louis Vuitton lovers.at other catagory handbags,walllets,clutches,purses,with high qualty satisfied your too! Louis Vuitton Monogram Denim http://www.replhandbags.com/22-monogram-denim-cruise Louis Vuitton Monogram Denim Cruise Collection,a fabulous category in our online shop,you will find the high quality denim cruise handbags bags wallets purses and clutches.denim cruise bags features practical ecnomic and fashion,at there Louis Vuitton Monogram Denim Cruise http://www.replhandbags.com/24-monogram-dentelle" Look through our onlin shop Louis Vuitton or Lv Replica Monogram Dentelle Collection, A symbol of LV handbags, and Louis Vuitton Purses, classic design with this Monogram canvas, sometimes even a badge of fashion femininity and denotes a social class as well. At other category your can find the fabulous handbags,wallets,pourses and clutches too,access for your enjoy life! Louis Vuitton Monogram Dentelle

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.