Comments (3)
Would using appStart and appStop count as good solution for you?
from gretty.
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.
from gretty.
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 :)
from gretty.
Related Issues (20)
- Hot deploy and fast reload not working
- Enable to run appStart task because of NoClassDefFoundError: Lorg/jCharts/properties/PieChart2DProperties
- Problem in appStart Task
- Examples folder is missing from master branch HOT 1
- Global logging.properties file for Tomcat
- how to appStartWar with war generated in subproject? HOT 2
- AppIntegrationTest is not using src/test/resources but src/main/resources for the server test instance
- Multiproject builds: Exception in thread "Thread-x" java.lang.IllegalStateException: The configuration ... was resolved from a thread not managed by Gradle. HOT 2
- jettyRun task produces java.lang.ClassNotFoundException: org.eclipse.jetty.security.DefaultAuthenticatorFactory
- Could not read script 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'
- Object of class 'org.akhikhl.gretty.JettyWebAppContext' is not of type 'org.eclipse.jetty.webapp.WebAppContext'. Object Class and type Class are from different loaders
- this link is obsolete
- Can I use Gretty to generate code with OpenAPI?
- KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory HOT 2
- "Cannot run Project.afterEvaluate" crash when Gretty applied to a Gradle sub-module via plugins block HOT 1
- org.akhikhl.gretty.Runner.run issue
- For a non spring boot application, gretty is complaining for spring boot dependency HOT 1
- gretty versions after 2.0.0 no longer available in the recommended repos HOT 2
- Gretty unable to find jstl.core
- apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin' and Could not HEAD
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gretty.