Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-10-2004, 09: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, 10:45 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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


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 09:25 AM.


Copyright © 1999-2023 Kinook Software, Inc.