Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-21-2008, 02:16 PM
praveenadini praveenadini is online now
Registered User
 
Join Date: 10-21-2008
Posts: 4
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
Reply With Quote
  #2  
Old 10-21-2008, 02:31 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
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
Reply With Quote
  #3  
Old 10-21-2008, 02:57 PM
praveenadini praveenadini is online now
Registered User
 
Join Date: 10-21-2008
Posts: 4
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?
Reply With Quote
  #4  
Old 10-21-2008, 03:02 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
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
Reply With Quote
  #5  
Old 10-21-2008, 03:55 PM
praveenadini praveenadini is online now
Registered User
 
Join Date: 10-21-2008
Posts: 4
that worked. Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:07 AM.


Copyright © 1999-2023 Kinook Software, Inc.