Hi,
I have upgraded from FinalBuilder XE2 Embarcadero Edition to Standard Edition (Version 7) and am upgrading my FinalBuilder projects to work with Delphi XE4.
In my development environment, I set up Delphi Environmental Variables to point to the folders where the DCU files are for my packages. Then I use these environmental variables in the library search path in my application projects.
This worked fine in XE2.
However I get some strange results when I try to used FinalBuilder with XE4. Some projects compile but others get errors.
I noticed that none of my environmental variables appear in the Final Builder Application variables when I select Tools | Options | Compilers | Embarcadero Delphi | Delphi Options | Use RAD Studion XE4 Environmental Variables at startup.
Also, whenever a project does compile, the FinalBuilder Watch seems to indicate that relevant environmental variable contains the path to my packages XE2 DCU folder.
All my Delphi Actions are set up to load ALL settings from project files.
I tried recreating a Delphi XE4 project from scratch but this did not help.
I am running FinalBuilder Standard Edition version 7.0.0.2232 on Windows 7 Professional 64 bit.
Any help appreciated.
Thanks
Paul Klink
It’s a bug (typo), I just checked in a fix. We’re in the process of reworking our build process (using Continua CI with FinalBuilder) but I hope to have that sorted today, will post here when a bugfix build is available.
Thanks Vincent.
A couple of clarification questions when I am using multiple versions of Delphi during my build process:
1) I have the same Environmental Variables defined in different versions of Delphi but they point to different paths. Is the “Delphi Build” action clever enough to use the correct instance/version of the environmental variable?
2) Do I need to tick “Use Environmental Variables at Startup” for all Delphi versions I use in Embarcadero Delphi | General Options | Delphi Options.
Regards
Paul Klink
Hi Paul
1) Yes, we virtualise variables for the delphi action (so BDS for example points to the correct version), we also do that for the rad studio environment variables for the same reason. That does have it’s downsides though as it makes it harder to override values in FinalBuilder.
2) Yes.
This build includes the fix :
http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700_2283.exe