Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-26-2008, 06:38 PM
wrdouglass wrdouglass is online now
Registered User
 
Join Date: 06-27-2007
Posts: 4
Parallel Step Execution

I'd like to see a mechanism to run 2 or more steps at the same time, with a way to eventually "wait" for them to be complete at some point before the script continues.

Such as:

Step 1: Fetch from SS "branch 1"
Step 2: Fetch from SS "branch 2"
Step 3: Wait for Step 1 completion
Step 4: Build branch 1
Step 5: Wait for Step 2 Completion
Step 6: build branch 2

So steps 1 & 2 operate simulataneously, step 3 waits for the successfully finish of Step 1, Step 4 then processes, Step 5 waits for Step 2 to finish (if it hasn't already) then Step 6 proceeds

It takes a large amount of time to fetch our branches (10-15 minutes, specifically for branch 2) which is basically wasted time since Branch 1 needs to be built before Branch 2 can be built (dependency) if they are done in succession.

I'm sure there are a lot of other relatively simple scenarios that could use the same approach to speed up the build process.
Reply With Quote
  #2  
Old 02-27-2008, 08:04 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
You can't do that now with the SourceSafe action itself (this will be supported in all Run Program-derived actions in the next release), but you could use a Run Program action calling SSHELPER, mark the SSHELPER steps to not wait for completion, and use Wait steps to wait on each process to complete (see attached sample).

Another option would be to use two separate projects (or the same project with parameterized values for branch name, etc.) for branch 1 and 2 (if you want to get, build, etc. all in parallel) and launch them in parallel (see the end of the Chain.bld sample). This way would also allow you to use the SourceSafe action directly.
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 01:18 AM.


Copyright © 1999-2023 Kinook Software, Inc.