> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > > Peter Donald <[EMAIL PROTECTED]> wrote: > > > The tasks that need multithreading can instead use two tasks (ie > > tomcat-start and tomcat-stop tasks). > > But the ant process that invokes tomcat-start won't terminate until > tomcat terminates (unless you spawn it or roll your own multithreaded > task). >
Some time ago, I was thinking on having some sort of <start> or <spawn> task, similar to <exec> but that executes in a completely independent process. For UNIX, that is equivalent to use "/bin/sh -c '.......... &'" while for WinXX is is equivalent to use "start .....". Do not know for other OSs, though. Jose Alberto > Stefan >
