How to make use of Grails Dependencies in your IDE

↘锁芯ラ 提交于 2019-12-04 00:56:00

If you have Eclipse with Grails plugin just run: Grails Tools->Refresh Dependencies (actually I have tried this with STS).

This is fixed in the latest EAP build: 94.173 -> http://youtrack.jetbrains.net/issue/IDEA-50459#content-tab=1

Download it here: http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP

Grails 1.2.1 and IntelliJ Build# 93.94 (version 9.0.1) and I have the same problem. The only way I've gotten it to work is with manually adding the libraries from my maven projects (Under ~/.ivy2/) Otherwise, download the EAP build listed above.

Further, grails integrate-with --intellij does not work. And, in fact, leads to worse problems. The built-in integration in IntelliJ is much better than what grails gives you.

Did you try

grails integrate-with --intellij

At least in 1.2.0RC1 this creates the intellij project files - but I'm not sure if the dependencies are also managed by this one.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!