I tend to call my main build projects through a bootstrapper. That bootstrapper is in turn either run directly (through the GUI) or through FB Server. If run directly, I want to be able to watch the build happen normally, with full GUI updates, so I call finalbuilder5.exe passing commandline arguments. If I'm running it from FB Server, I use the "include project" action. So far, so good.
The problem is, from within the included project, I want to be able to tell whether that project is being run totally directly (ie, no bootstrapper layer), or whether it's being bootstrapped - either via an 'include' action, or via finalbuilder5.exe. This doesn't seem to be possible: there is no system variable which can distinguish between a user opening FB and running a project, and the finalbuilder5.exe being run via commandline parameters.
My workaround is to pass an extra parameter on the command line (/vBootstrape=YES), but that's a bit grubby - it's hard to make sure it gets set back to NO at the appropriate time. Either I make it persistent, or I make it non-persistent with the problems that can cause.
Just thought I'd mention it.
Steve