> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gert Driesen > Sent: Thursday, 5 August 2004 6:27 PM > To: sridhar; [EMAIL PROTECTED] > Subject: Re: [nant-dev] running a detached process from NAnt > > Guess we need to add support something similar to the "spawn" > attribute in Ant : http://ant.apache.org/manual/CoreTasks/exec.html > > Gert
If it's possible to spawn a process in the background, it would be nice if there was a facility to rejoin the process at a later stage in the build process... this would allow for orthogonal processes to be run simultaneously, allowing throughput to be (greatly) improved in multi-CPU or distributed builds. <exec program="bg.exe" spawn="true" pid-property="bg.pid" /> <other-bookkeeping-tasks /> <rejoin pid="${bg.pid}" /> Actually, along these lines, it would theoretically be relatively simple to multi-thread NAnt itself... the target dependency model defines a strong partial ordering of targets; NAnt could simultaneously execute _every_ target that is eligible for execution, within definable parameters such as maximum number of threads, or maximum simultaneous compilation tasks. This would make the slingshot task much more valuable, since it would allow a solution with a wide dependency tree to be compiled in multiple threads, or on multiple machines once NAnt supports distributed builds :-) The only downside to this approach (without further changes) is that the dependency model is a little _too_ strong... if the test target depends on the build target, then there is no way to run the test target without also running the build target, for any reason (And there are various legitimate reasons for doing this). Anyway, -T Disclaimer Message: This message contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please immediately delete it and all copies of it from your system, destroy any hard copies of it, and notify the sender. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. To the maximum extent permitted by law, Immersive Technologies Pty. Ltd. does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers