STS - 在保存上构建
我继承了一个 Grails 项目,并且对 Grails 和 Eclipse 都很陌生。我的项目是STS 2.6.1。每次我保存文件时,项目都会从头开始进行完整的编译。我未选中项目 ->自动构建。有什么想法吗?
I have inherited a Grails project and am pretty new to Grails as well as Eclipse. I have the project in STS 2.6.1. Every time I save a file the project does a complete compilation from scratch. I have unchecked Project -> Build Automatically. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这听起来不对。保存时应该进行增量编译。项目的配置可能存在问题,导致一遍又一遍地“刷新依赖项”。
您收到的反馈是什么告诉您正在发生完整的构建?
发生这种情况时,请查看控制台视图中发生的情况,同时查看“进度”视图。两者都会告诉您是否发生任何特定于 grails 的进程。
最后,查看错误日志并查看是否有任何相关条目。通过更多信息,我们大概可以弄清楚发生了什么。
That doesn't sound right. There should be an incremental compilation occurring on save. It could be that there is something wrong with the configuration of the project that is causing a "Refresh Dependencies" over and over again.
What is the feedback that you are getting that tells you there is a full build occurring?
Take a look at what is going on in the console view when this is happening, also look at the Progress view. Both will tell you if there are any grails-specific processes happening.
Lastly, have a peak at the error log and see if there are any relevant entries. With a little more information, we can probably figure out what is going on.