On 26/03/2011, at 1:43 AM, Robert Fischer wrote:

> Is it possible to query for the daemon? I've discovered an issue when
> using the daemon (some code goes to the FileDescriptors in order to
> grab stdout, which means the output is lost under the daemon) and I'd
> like to be able to disable that behavior if the daemon is running.

There isn't a good way to query for this.

Why can't you simply use System.out and System.err? It would be better if you 
could change the code do to so. Running with the daemon will eventually become 
the default, and possibly only, way to run builds in the future. Certainly for 
tooling integrations, such as for IDEs and CI servers, and almost certainly for 
the command-line tool, too.


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
Co-Founder and VP of Engineering, Gradleware Inc. - Gradle Training, Support, 
Consulting
http://www.gradleware.com

Reply via email to