Problems with vertxRun task
See original GitHub issueHi,
I have the following in build.gradle
:
vertx {
mainVerticle = 'com.sample.SampleService'
}
vertxDebug {
jvmArgs = ['-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory']
}
vertxRun {
jvmArgs = ['-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory']
}
When I use vertxDebug
, it works as expected.
But when I use vertxRun
, I see the following issues:
- The specified jvmArgs is not passed along.
- On the command window, termination using [Ctrl] + [C] does not kill server. It keeps running in the background, and I get BindException because the port is occupied.
I am using Windows 10 and Java 8.
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
Vert.x Starter Not Working With Gradle - Google Groups
Trying to run the Vert.x program (written in Kotlin 1.0.6) with Gradle via its run task and end up with the following output:...
Read more >Problem with Gradle build when trying to run vertx application
IntelliJ and Vertx: How to run org.vertx.java.deploy.impl.cli.Starter ? 3 · gradle build , fails Execution failed for task ':compileJava'.
Read more >eclipse-vertx/vertx-users - Gitter
Same issue for uploads ... the gradle plugin tests (mainly GradleRunner) and do not know how to test a gradle task (like vertxRun...
Read more >Vert.x Core Manual
The trouble with a single thread is it can only run on a single core at any one ... Run a JavaScript verticle...
Read more >The Problem with Gradle - Bruce Eckel
A build usually has multiple tasks and you typically invoke the desired task from the command-line, as in gradle build . Other build...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Pretty sure the problem is with the Vertx launcher code and not specifically this gradle plugin. If you run it without gradle the same problem occurs in Windows.
Well, I’m not a Windows expert but yeah everything works fine on Unix system and moreover yeah all issues targeting to the Windows and they are not producable in Unix. In fact unfourtanetly I can only try the code.