开发者

Grails and IntelliJ Cache Issues

we are using Grails together with Maven and Intellij. For the beginning of the project it worked everything nicely. Now we are getting开发者_JAVA技巧 more and more strange effects like when somebody is checking in wrong code, some are getting error some are not.

Are there any best practices to config IntelliJ so thats it working on each machine good and predictable?

We found out that some having the "make" before starting the project disabled but this didnt solved the issue.

Thanks for your help!


Got very little problems in 2 years. Idea had couple of cache issues a year ago, I wiped caches by hand. Ever since then, had no problems with caches/indexes.

Couple of things I could think of:

  • grails clean usually fixes most weirdness;
  • Yes, removing "Before launch - make" flag stops Idea from doing wrong guesses and unnecessary compilation (which id does differently from Groovy compiler);
  • For every new run configuration, we add ValueFormatter to VM parameters, or add it to Grails defaults;
  • Create a run configuration for test-app and run it on regular basis;
  • Give it as much memory as you can in idea.vmoptions.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜