Howdy,
I'm trying to use the tooling API to write integration tests, but
running into a severe problem with the daemon (see my other post
http://gradle.1045684.n5.nabble.com/Gradle-daemon-and-3rd-party-plugin-classloading-issues-td4371935.html).
To make things work, I need to either disable the use of the daemon
altogether. Or stop the daemon programmatically. Is there any way to
achieve either goal?
I can create a DaemonConnector and should be able to send a stop
command, but I did not manage to do the same. Can anyone help? Thanks.
File home = new File(System.getProperty("user.home"), ".gradle");
DaemonConnector connector = new DaemonConnector(home);
Connection<Object> connection = connector.maybeConnect();
if (connection != null) {
// how to send stop command?
}
Cheers,
Marco
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email