blog rss feed

Importing a Grails plugin into Intellij 8

Author: Dave Cherry last modified
Keywords: grails development intellij

Recently, I wanted to edit a Grails plugin in IntelliJ 8 (without creating an application around it). Given that IntelliJ doesnt seem to be able to import a Grails project without building an application around it, I had to find another way.

My solution revolves around copying an existing IML (module file) into the Grails Plugin and ensuring that it references only the files in the new project (by editing it in vi or your favourite editor)! Its not a great solution, but at least you can edit a plugin in the IDE.

Editing the IML file is fairly easy; its mainly changing all references to the module's name and adding and removing paths as appropriate.

I've tried this and it seems to work well enough for me, if anyone has a better way than this, please reply!

 

Please leave a comment



Search

Blog calendar

blog: previous month March 2010 blog: next month
su mo tu we th fr sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31