Currently I have a single FinalBuilder project to handle all of our development builds for the product. I needed to add support for branch builds and rebuilds on top of the support I initially built for trunk builds. To solve it, I added a User Prompt and conditionally set a few variables, like V_Major, V_Minor, V_Build, and V_Revision, along with some project paths.
I now need to add support for running this in non-interactive mode, which makes the User Prompt action not possible. So I started using the Include FinalBuilder Project and abstracted setting the variables I need into the parent project, calling the base project to do the grunt work with a few assumed variables.
The problem I now have is that when using the Include FinalBuilder Project action, persistent variables in the included project (child), are no longer persistent. Even though the inf file shows the correct value persisted, when I run the parent project, the persisted values load the default value instead of the persisted value.
Is this intentional, or am I doing something wrong. Suggestions for the right way to do this are welcome. I don't want to have to copy the project for every build, I just want to change some variables before running the build so it uses new directories, source control paths, and version numbers. Everything else is the same.
Thanks in advance,
Josh