Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running appRun or jettyRun in eclipse automatically stops #50

Open
et304383 opened this issue Aug 15, 2014 · 3 comments
Open

Running appRun or jettyRun in eclipse automatically stops #50

et304383 opened this issue Aug 15, 2014 · 3 comments

Comments

@et304383
Copy link

The system doesn't keep running. It just automatically stops. Running from the command line works fine.

I saw a similar issue was posted a while back regarding IntelliJ

@akhikhl akhikhl self-assigned this Aug 27, 2014
@akhikhl
Copy link
Owner

akhikhl commented Aug 30, 2014

Would using appStart and appStop count as good solution for you?

@et304383
Copy link
Author

Sort of. The problem is then I've no easy way to stop gradle. I have to run a second command.

I gave up on running gradle through eclipse for debugging. The gradle plugin sucks and doesn't provide nearly the same level of integration as the maven plugin.

@mvysny
Copy link

mvysny commented Apr 10, 2017

Thank you for your awesome plugin!
Actually, I am trying to use Gretty for development, and thus I need debugging support, so probably appStart won't help in this case.

I have tried to run ./gradlew appRun; when I run it from the terminal it correctly blocks until I press Ctrl+C. Yet when I try to run it (or debug it) from Intellij, it will just terminate immediately:

...
15:32:34 INFO  Jetty 9.2.15.v20160210 started and listening on port 8080
15:32:34 INFO  myproject runs at:
15:32:34 INFO    http://localhost:8080/myproject
Press any key to stop the server.
15:32:34.456 [main] INFO  c.b.b.u.s.ServicesServletListener - All services were closed

BUILD SUCCESSFUL

Total time: 10.975 secs

I can provide a sample project and a video capture if need be, just let me know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants