STS - 在保存上构建

发布于 2024-11-10 09:46:50 字数 114 浏览 10 评论 0原文

我继承了一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

像你 2024-11-17 09:46:50

这听起来不对。保存时应该进行增量编译。项目的配置可能存在问题,导致一遍又一遍地“刷新依赖项”。

您收到的反馈是什么告诉您正在发生完整的构建?

发生这种情况时,请查看控制台视图中发生的情况,同时查看“进度”视图。两者都会告诉您是否发生任何特定于 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文