|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
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?
|
#4
|
|||
|
|||
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 |
#5
|
|||
|
|||
that worked. Thanks.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|