Jason Porter wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I have the following in my build.gradle:
[jettyRunWar,jettyRun,jettyStop]*.stopKey = 'foo'
[jettyRunWar,jettyRun,jettyStop]*.stopPort = 9451
[jettyRunWar,jettyRun,jettyStop]*.httpPort = 8163
[jettyRunWar,jettyRun,jettyStop]*.contextPath = 'r-and-d'
[jettyRunWar,jettyRun]*.daemon = true
when I do a jettyRunWar or jettyRun I cannot access the server after
the build, and there are no processes still running.
The daemon flag controls whether or not the task blocks waiting for the
jetty server to finish running. Setting it to true means the task simply
starts the server and returns. It doesn't fork the server in another
process. So, when the build process exits, the server stops too.
If you'd like some other behaviour, like a fork flag or something, could
you add a JIRA issue?
Adam
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email