Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Suggestions

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-15-2003, 10:25 AM
Mike-7 Mike-7 is online now
Registered User
 
Join Date: 06-13-2003
Location: St-Petersburg, Russia
Posts: 10
Send a message via ICQ to Mike-7
Lightbulb Keep failure status of any build step

And make it available through macro,
e.g.: %FAIL_STATUS("mystepname")%
Reply With Quote
  #2  
Old 08-17-2003, 04:10 PM
pjaquiery pjaquiery is online now
Registered User
 
Join Date: 01-19-2003
Location: Dunedin, New Zealand
Posts: 114
This idea I like, although there are a number of issues:

1/ there may be more than one step with the same name,
2/ the step may be nested in a subroutine call sequence so the context would be required as well,
3/ should there be an entry for each itteration through a repeated group of steps?
Reply With Quote
  #3  
Old 08-18-2003, 04:07 AM
Mike-7 Mike-7 is online now
Registered User
 
Join Date: 06-13-2003
Location: St-Petersburg, Russia
Posts: 10
Send a message via ICQ to Mike-7
all those three cases are generic and can be resolved by some complex syntax:

1/ full path to step (e.g. "buidproject\copyfiles\copy_exe", if omitted use ANY step with specified name (name clash is up to user).
2/ include opional context information as well (e.g. "buidproject\copyfiles\copy_exe:mysubrootine\mysub step"),
3/ my imagination is exhausted need to invent even more complex syntax...
Reply With Quote
  #4  
Old 10-06-2003, 04:29 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,747
You can get a basic implementation of this by calling a common function in each step's vbld_StepDone event which stores that step's status in a temporary macro named for the step. To update several steps to do this, you can multi-select the steps and edit the step script code to call a common function (StoreStepStatus [defined as a project script function] in the sample). A VBScript sample is attached.
Attached Files
File Type: bld multifailstat.bld (1.3 KB, 602 views)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 02:26 AM.


Copyright 1999-2019 Kinook Software, Inc.