Shawn, I actually use couple options to accomplish multiple projects that some are depending on others for completion. For myself, I'd sometime include a process to create a temp file and log the result of certain project(s) that other projects depend upon. I then have task (or custom task) to parse the temp file for the result(s). The other option I sometime would use is to include an option to create a service, start the service if the project built successfully, and then in the end remove the service to get ready for the next run. I also include checking for that particular service to make sure if it exists. Of course, it goes into much more detailed than this, but you got the idea.
Folks, that's the reason why I called it an ugly *hack* at the beginning, but it seems to be working for what I'm trying to do so I decided to leave it as it. Thanks, Daniel -----Original Message----- From: Shawn [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 6:50 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Does NAnt have a "while" capability? Gary Feldman wrote: > Nguyen, Daniel wrote: > >> If project B has to wait for project A to complete, can you place a >> call at the end of the project A to call project B once it's >> completed its run? >> > This works if there's a single path (A then B), but not if there's > concurrency that requires a resynchronization (do A, B, and C in > parallel, and do D after all three of them finish). > Could you maybe create a file, and then have either CC.NET or the build file for D check for the existence of the file? (Disclaimer: I've not used CC.NET yet, so I don't know if this would be useful.) - Shawn ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------------------- A.G. Edwards & Sons' outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. ------------------------------------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users