mvermeulen
12-21-2006, 04:23 PM
I am looking for a solution to a problem I have with the log files when reloading the configuration mid build. When the files are reloaded with the following statements, the log file is recreated without the correct opening tags.
Application.Options.Load "%configfilepath%\VisBuildPro.config"
Application.Macros(vbldMacroGlobal).Load "%configfilepath%\VisBuildPro.macros", True
Application.Scripts(vbldScriptGlobal).Load "%configfilepath%\VisBuildPro.Global.scripts"
Application.Project.Steps(vbldStepGlobalSubroutine ).Load "%configfilepath%\VisBuildPro.steps"
So, when I get down to the point of converting the logs to html, I get the following error.
Closing any open log tags...
Loading XML input document...
Error at line 1, position 1 loading 'C:\DOCUME~1\vermeumh\LOCALS~1\Temp\1\bld21.tmp': Invalid at the top level of the document.
There are no opening tags to match the closing tags. Hope my assumptions regarding this are correct.
Can I disable the creation of a new log at the point when I am reloading the config? I do want to create a new log each and every time I re-run the build but not during.
Thanks...
Application.Options.Load "%configfilepath%\VisBuildPro.config"
Application.Macros(vbldMacroGlobal).Load "%configfilepath%\VisBuildPro.macros", True
Application.Scripts(vbldScriptGlobal).Load "%configfilepath%\VisBuildPro.Global.scripts"
Application.Project.Steps(vbldStepGlobalSubroutine ).Load "%configfilepath%\VisBuildPro.steps"
So, when I get down to the point of converting the logs to html, I get the following error.
Closing any open log tags...
Loading XML input document...
Error at line 1, position 1 loading 'C:\DOCUME~1\vermeumh\LOCALS~1\Temp\1\bld21.tmp': Invalid at the top level of the document.
There are no opening tags to match the closing tags. Hope my assumptions regarding this are correct.
Can I disable the creation of a new log at the point when I am reloading the config? I do want to create a new log each and every time I re-run the build but not during.
Thanks...