Hi,
We're transitioning from XE2 to XE4 so have both in the build environment. I'm trying to get both builds to work on the same machine.
XE2 projects are bulding OK.
XE4 projects are unable to see the library path set in the settings *unless* I set 'Use Registry for library paths', where it does set a library path - however if you then build from finalbuilder server the same problem manifests.
If I uncheck 'use global delphi library path' and copy the library path into the build action directly it builds (so the path is correct).
The action thinks that the path is set correctly - MsgBox(Action.LibraryPath) and MsgBox GetOptionsObject("Borland Delphi").DXE4LibraryPathWin32 in the BeforeAction display the same path in all cases, but the behaviour is different!
Example log with 'Use Global Delphi Library Path' and the path entered into the library paths dialog:
Compiler selected is : C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\bin\dcc32.exe
Generating Resource File....
Including ICON File :C:\\Program Files (x86)\\Embarcadero\\RAD Studio\\11.0\\bin\\delphi_PROJECTICON.ico
-v D:\Rps\RpsSupport6\RpsControls\RPSControls6.rc
CodeGear Resource Compiler/Binder
Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc.
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Creating D:\Rps\RpsSupport6\RpsControls\RPSControls6.RES
Using codepage 1252 as default
D:\Rps\RpsSupport6\RpsControls\RPSControls6.rc.
Writing ICON:1, lang:0x409, size 3752
Writing ICON:2, lang:0x409, size 2216
Writing ICON:3, lang:0x409, size 1736
Writing ICON:4, lang:0x409, size 1384
Writing ICON:5, lang:0x409, size 270376
Writing ICON:6, lang:0x409, size 9640
Writing ICON:7, lang:0x409, size 4264
Writing ICON:8, lang:0x409, size 2440
Writing ICON:9, lang:0x409, size 1128
Writing GROUP_ICON:MAINICON, lang:0x409, size 132.
Writing VERSION:1, lang:0x409, size 396
Resource Compiled OK.
Running Delphi compiler....
Using Command Line : /B D:\Rps\RpsSupport6\RpsControls\RPSControls6.dpk /Q
Embarcadero Delphi for Win32 compiler version 25.0
Copyright (c) 1983,2013 Embarcadero Technologies, Inc.
RPSControls6.dpk(42) Fatal: E2202 Required package 'RaizeComponentsVcl' not found
Log with the same library path copied directly into the action:
Compiler selected is : C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\bin\dcc32.exe
Generating Resource File....
Including ICON File :C:\\Program Files (x86)\\Embarcadero\\RAD Studio\\11.0\\bin\\delphi_PROJECTICON.ico
-v D:\Rps\RpsSupport6\RpsControls\RPSControls6.rc
CodeGear Resource Compiler/Binder
Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc.
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Creating D:\Rps\RpsSupport6\RpsControls\RPSControls6.RES
Using codepage 1252 as default
D:\Rps\RpsSupport6\RpsControls\RPSControls6.rc.
Writing ICON:1, lang:0x409, size 3752
Writing ICON:2, lang:0x409, size 2216
Writing ICON:3, lang:0x409, size 1736
Writing ICON:4, lang:0x409, size 1384
Writing ICON:5, lang:0x409, size 270376
Writing ICON:6, lang:0x409, size 9640
Writing ICON:7, lang:0x409, size 4264
Writing ICON:8, lang:0x409, size 2440
Writing ICON:9, lang:0x409, size 1128
Writing GROUP_ICON:MAINICON, lang:0x409, size 132.
Writing VERSION:1, lang:0x409, size 396
Resource Compiled OK.
Running Delphi compiler....
Using Command Line : /B D:\Rps\RpsSupport6\RpsControls\RPSControls6.dpk /Q
Embarcadero Delphi for Win32 compiler version 25.0
Copyright (c) 1983,2013 Embarcadero Technologies, Inc.
125699 lines, 2.81 seconds, 1367560 bytes code, 115308 bytes data.
Versions..
Finalbuilder 7.0.0.2411
Delphi XE4 Update 1
FinalBuilder server 7.0.0.350
Windows 7 SP1
Edit: After testing I can reproduce this easily without compiling..
Check ''Use Registry for library paths'. In the action do 'Reload Library Path'. The correct path appears.
Uncheck 'Use Registry for library paths'. do 'Reload library path' again. The path vanishes.
Tony