PDA

View Full Version : How are macros saved?


ambalboa
06-26-2007, 08:52 AM
Hello.

I am close to finishing a project, which will be saved with Surround SCM. My question is this: When the project or .bld file is checked in, are the macros (and their value) also saved with it? If not, where are they saved so that I can also check in that information along with the project. I'm thinking of creating a folder to store the macros that belong to the .bld file.

Also, the system, temp macros, script, subroutine and failure steps, where is that located, and when checked in (or out), can it all be placed together, or does it need to be in a specific location or folder in order for it to work.

Thank you.

kinook
06-26-2007, 09:12 AM
Project macros and script and project, subroutine, and failure steps are stored in the .bld file. Temp macros and script are stored only in memory. Global macros, script, steps, and options are typically stored in the common application data path, but various methods are available to override the location:
http://www.visualbuild.com/Manual/configurationfiles.htm

ambalboa
06-26-2007, 10:16 AM
Thank you.

A follow-up question: Are the system macros initialized when the Visual Build Pro is installed on a computer, and are read-only? If so, I don't need to bother with them, right?

Also, when I check on the configuration file path, I only see a .macros and .steps file but no .scripts file. Is this because my .bld file has no global script written for it?

And the system scripts, they are stored in the VisBuildPro.System.scripts file. Where is this located, or should I care?

Thanks again.

kinook
06-26-2007, 10:23 AM
Originally posted by ambalboa
Thank you.

A follow-up question: Are the system macros initialized when the Visual Build Pro is installed on a computer, and are read-only? If so, I don't need to bother with them, right?
They're initialized at startup of VBP and are read-only.

Also, when I check on the configuration file path, I only see a .macros and .steps file but no .scripts file. Is this because my .bld file has no global script written for it?
Right, the file is not created until global script code is added and VBP is exited or a project is saved.

And the system scripts, they are stored in the VisBuildPro.System.scripts file. Where is this located, or should I care?
The System subfolder of the VBP installation path, but you shouldn't need to care.