Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

Václav is a programming enthusiast who's constantly seeking ways to make development more effective and enjoyable. He's particularly interested in server-side Java technologies, distributed systems, concurrency, agile methodologies, modern programming languages and DSLs.
He works for JetBrains as a senior software developer and a technology evangelist. He is also a board member of the JetBrains Academy. On the side, he's leading the GPars project, an opensource concurrency library, and investigates the domains of neural networks, evolutionary programming and data mining. You can check out his blog or follow him on twitter.
[dzone] Václav is a DZone Zone Leader and has posted 45 posts at DZone. View Full User Profile

Jump-start Griffon development with IntelliJ IDEA

08.25.2009
Email
Views: 6640
  • submit to reddit

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.

Published at DZone with permission of its author, Václav Pech.

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

Comments

Kelly Robinson 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?

 

Václav Pech 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

new balance 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>

kelly jason 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

Burgen Slift replied on Mon, 2010/11/15 - 4:02pm

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. disaster recovery  is never easy. Avoid it!

Talk Shak replied on Thu, 2012/04/26 - 1:12am in response to: ligfield

a

Comment viewing options

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