Hi all -
I've been finding more and more reasons in our build in our build to create
an implementation of java process forking. Currently the JavaExec
implementation is synchronous and I'm looking at implementing some features
that would allow a build to fork multiple processes and then blocking on
joining them back together. I don't see any designDocs related to this (or
to parallel task execution within a project) so I wonder if there is some
thought already on this.

I have a working implementation that I want to extend into gradle core if
possible. The simple API would be to add the following to Project:

ExecHandle javafork(Closure closure);
ExecHandle fork(Closure closure);

Might also be useful to add the following:

ExecResult join(ExecHandle handle);
List<ExecResult> join(List<ExecHandle> handles);

Any thoughts or suggestions?





--
View this message in context: 
http://gradle.1045684.n5.nabble.com/ForkedJavaExec-implementation-tp5712028.html
Sent from the gradle-dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to