Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   creating parallel task (https://www.kinook.com/Forum/showthread.php?t=3832)

praveenadini 10-21-2008 02:16 PM

creating parallel task
 
Hi,

Can someone let me know how to create parallel task in visual build? I have 2 batch files that need to run at the same time and also need to copy files when one batch file is done processing.

Thanks
Praveen

kinook 10-21-2008 02:31 PM

Use two Batch File actions with 'Wait for completion' on the Options tab unchecked, followed by a Wait step to wait for either (or one) to finish, followed by a Copy Files action.

http://www.kinook.com/VisBuildPro/Ma...fileaction.htm
http://www.kinook.com/VisBuildPro/Manual/waitaction.htm
http://www.kinook.com/VisBuildPro/Ma...hainsample.htm
http://www.kinook.com/VisBuildPro/Ma...ilesaction.htm

praveenadini 10-21-2008 02:57 PM

What i have done is i have created different groups. One group contains the batch file and then i need to copy the files once the batch file is done processing. But the build should continue on to the next group while the batch file(first group) is being process. If i introduce a wait statement in between the batch file execution and copy inside the first group does the build continue onto the next group while executing the batch file? Won't the build wait until the first group is done?

kinook 10-21-2008 03:02 PM

Put the batch file and copy steps in a separate project, then build that project with a VisBuildPro Project action that doesn't wait.
http://www.kinook.com/VisBuildPro/Ma...projaction.htm

praveenadini 10-21-2008 03:55 PM

that worked. Thanks.


All times are GMT -5. The time now is 09:59 PM.


Copyright © 1999-2023 Kinook Software, Inc.