This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
5 Replies Last post: Dec 31, 2008 8:16 AM by Tyler Williams  
Mike Brevoort Newbie 4 posts since
Dec 3, 2008
Currently Being Moderated

Dec 3, 2008 9:03 PM

How does JetGroovy recognize a proper Grails SDK (related to Grails 1.1)

Using IDEA 7.0.5 with the latest JetGroovy plugin, I can't get the grails module withing my project to recognize grails-1.1-beta1 as a proper Grails SDK.  When I try, it just reverts the dropdown back to no SDK.  Grails 1.0.4 works fine though.  If I had more insight into how JetGroovy validates that this is a Grails distribution then hopefully I could trick it, short of fixing JetGroovy to recognize 1.1 projects.

 

Thanks,

Mike

 

Grails user list thread for reference: http://grails.markmail.org/search/?q=jetgroovy#query:jetgroovy+page:1+mid:64pimkaspmusqiuq+state:results

Ilya Sergey JetBrains 253 posts since
Sep 11, 2007
Currently Being Moderated
Dec 3, 2008 9:09 PM in response to: Mike Brevoort
Re: How does JetGroovy recognize a proper Grails SDK (related to Grails 1.1)

Hello, Mike.

 

It seems that something has changed in project structure of Grails 1.1 application. If it's so than this is a bug. I'll check it.

Thanks.

 

With best regards,

Ilya

Tyler Williams Newbie 3 posts since
Jun 25, 2003
Currently Being Moderated
Dec 31, 2008 8:16 AM in response to: Mike Brevoort
Re: How does JetGroovy recognize a proper Grails SDK (related to Grails 1.1)

FYI, I was having all the problems with grails 1.1 beta, but finally got things working. I'll describe the fix for the problem where the "Run Grails" from inside the IDEA fails, I'm not sure if this is a grails issue or jetgroovy, but for whatever reason the ${grails.version} in groovy-starter.conf isn't working. So you need to explicitly define the file name in GRAILS_HOME/conf/groovy-starter.conf. And of course have the correct jetgroovy plugin. So the line below works for me using IDEA EAP 9572 + jetgroovy 21538 + grails 1.1-beta2.

 

    load ${grails.home}/dist/grails-bootstrap-1.1-beta2.jar

More Like This

  • Retrieving data ...