Kinook Software Forums

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-10-2004, 10:02 AM
rd_bigdog rd_bigdog is online now
Registered User
 
Join Date: 08-10-2004
Posts: 1
Question ResetBuildStatus -- endless loop.

We have noticed that sometimes when our scripts fail or even sometimes when they complete successfully, the script doesn't reset to the beginning. So, when the scheduled task runs each night, the script doesn't go from the top. I am trying to add a script task to the end to say, Builder.ResetBuildStatus, but this causes the script to fire off again from the top as oppose to just reset the script in preparation for the next run. Is there anyway for me to get around this?

Thanks,
Rick.
Reply With Quote
  #2  
Old 08-10-2004, 11:45 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,758
For each new instance of VBP (the GUI app, console app, or creating via the object model), it will normally start at the first project step when performing a build. Some things that could affect this:

1) If 'Tools | Application Options | General | Persist build status when saving project files' is checked, the completion status of the steps will be saved with the project. If that build is opened and started again, it will start from the beginning, but will skip the steps marked completed.

2) If a build is initiated via script code, the startType and startIndex parameters of the Start method will determine which step it starts at.

Assuming #1 is unchecked and you are launching either the GUI or Console app from a Scheduled Task, I don't see any way that the build would not start from the first project step. If you could provide a sample project + scheduled task info to reproduce this behavior we can certainly investigate. Also include the info from Help | About | Install Info in VBP, and the files listed in Tools | File Locations that exist on your box.
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 11:49 PM.


Copyright 1999-2019 Kinook Software, Inc.