[英]How to stop ratpack run under netbeans IDE?
Problem: 问题:
After starting ratpack application under netbeans IDE there's no way to stop it. 在netbeans IDE下启动ratpack应用程序后,无法停止它。
Steps to reproduce 重现步骤
Checkout project: https://github.com/akhikhl/ratpack-helloworld.git 结帐项目: https : //github.com/akhikhl/ratpack-helloworld.git
Start netbeans 7.4 (Gradle Support IDE plugin must be installed) 启动netbeans 7.4(必须安装Gradle Support IDE插件)
Open project ratpack-helloworld 打开项目ratpack-helloworld
Invoke menu command "Run/Run Project" - gradle task starts nicely, app waits on port 5050. 调用菜单命令“运行/运行项目”-gradle任务启动良好,应用程序在端口5050上等待。
Now try to stop it: 现在尝试停止它:
Workaround 解决方法
Restarting IDE kind of solves the problem, but eliminates fun factor from using ratpack. 重新启动IDE可以解决此问题,但消除了使用ratpack带来的乐趣。
Question 题
Any ideas on how to stop ratpack under netbeans the legitimate way? 关于如何以合法方式在netbeans下停止ratpack的任何想法?
You can use the [X] button in the bottom bar to cancel the gradle run task. 您可以使用底部栏中的[X]按钮来取消gradle运行任务。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.