Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Updating Build File During Build (https://www.kinook.com/Forum/showthread.php?t=917)

SuperJason 02-21-2005 10:31 AM

Updating Build File During Build
 
Is there a good way to make a build file self updating from source control?

I want to have some steps in a build that retrieve the newest BLD file from source control, and if it has changed, restart the new version of the build. I don't know how to do this because I don't know if the build file got changed. I also don't know if the build was launched with the GUI or the command line version. I want to reopen the file the same way.

I'd like to hear any advice you may have.

Thanks,
Jason

DHearn 02-21-2005 11:29 AM

We handle this in our builds by having a top-level build file which gets all the other build files from source control and then has a VisualBuild step which starts the normal build using the updated build file. We have the top-level build file run each night from by the windows scheduler. When using the GUI interface, we just open the normal build file.

SuperJason 02-21-2005 11:31 AM

Not Too Bad
 
That sounds alright. It means I'll have 2 build files, but it's not that bad.

I'd still like to hear how other people have done this.

Thanks,
Jason


All times are GMT -5. The time now is 09:58 AM.


Copyright © 1999-2023 Kinook Software, Inc.