0.9.6 Doesn't get stopped with intelliJ

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

0.9.6 Doesn't get stopped with intelliJ

uris77
I was using 0.9.5 with IntelliJ and when I stopped the gradle task via the IDE it worked. I upgraded to 0.9.6 today and noticed that I couldn't kill the app via the IDE. Not sure if this is a bug, or maybe I'm missing I configuration option?
Reply | Threaded
Open this post in threaded view
|

Re: 0.9.6 Doesn't get stopped with intelliJ

Luke Daley
Administrator
This is working for me. Can you provide some steps to reproduce?
Reply | Threaded
Open this post in threaded view
|

Re: 0.9.6 Doesn't get stopped with intelliJ

uris77
Create a new ratpack project. Import to IntelliJ. Select View->Tool Windows->Gradle->run

The project starts. Stop the project in intellij; and run again. It won't start-up this time because it didn't kill the previous process even though it would appear it did so. If you do _ps ax | grep ratpack_ you'll see that the process is still running.
Reply | Threaded
Open this post in threaded view
|

Re: 0.9.6 Doesn't get stopped with intelliJ

Danny Hyun
Did you run "gradlew cleanIdea idea" after you created your ratpack project?

How did you create your ratpack project? There are some nice lazybone templates to get you off the ground .
Reply | Threaded
Open this post in threaded view
|

Re: 0.9.6 Doesn't get stopped with intelliJ

uris77
Yes, it was working fine with 0.9.5. I started getting this issue when I upgraded to 0.9.6
Reply | Threaded
Open this post in threaded view
|

Re: 0.9.6 Doesn't get stopped with intelliJ

Danny Hyun
What happens when you switch back to 0.9.5 within the same project?
Reply | Threaded
Open this post in threaded view
|

Re: 0.9.6 Doesn't get stopped with intelliJ

Luke Daley
Administrator


There were no changes in .6 in this area. 

Also, it's better to use the Run Configuration in IDEA than to launch the app via Gradle. This way the IDEs classpath is used which means you can change the code while the app is running.
Reply | Threaded
Open this post in threaded view
|

Re: 0.9.6 Doesn't get stopped with intelliJ

Luke Daley
Administrator
In reply to this post by Danny Hyun
I get the same behaviour with .5 and .6 

I think this is an issue with the way IDEA is stopping the process, not Ratpack.