I have a simple hello world war.
In my build.gradle - I have applied the war and jetty plugin and it looks something along the following lines:
apply plugin: 'java’
apply plugin: 'eclipse’
apply plugin: 'jetty’
apply plugin: ‘war’
…
jettyRunWar {
daemon = 'true’
stopPort = 8090
stopKey = ‘stopKey’
httpPort = 8080
}
why I run:
$>./gradlew jettyRunWar
However I don’t see Jetty run.
However if I comment out daemon=‘true’ - then jetty server is started and the gradle task jettyRunWar is blocked till the Jetty Server is stopped.
Any suggestions as to what I am doing wrong?