Hi,
Gradle 1.0 Java 1.7u11
I have this:
[jettyRun, jettyStop]*.stopPort = 8081
[jettyRun, jettyStop]*.stopKey = 'w00t'
test {
doFirst {
jettyRun.daemon = true
jettyRun.execute()
}
doLast {
jettyStop.execute()
}
}
Yet, when I run tests (which complete successfully), I find I’m still left with the daemon process running, i.e.,:
$ lsof -i tcp:8080
COMMAND
PID
USER
FD
TYPE
DEVICE SIZE/OFF NODE NAME
java
17176 david
226u
IPv4 1995504
0t0
TCP *:http-alt (LISTEN)
Perhaps I’m doing something incorrect?