I have an ant build which compiles C++ using VS cl.exe, groovy and java. I'm building a program to automate switching branches and I've found commons-exec.
The problem I have is that some of the subants spawn multiple threads to speed up the build but the impression I'm getting is that by executing my tasks via commons-exec I'm restricting the entire build to one thread.
Is this the case and is there any way to overcome it (to allow executor subprocesses to spawn threads)