I try to get started on ContinuaCI by following the article “Building Delphi projects with Continua CI”. The build fails with F1026 from the compiler due to a generated non-existant path. I can’t figure out what I am missing? Also, is there any way to export and import the ContinuaCI configuration? Thanks for any help!
“C:\Nutzer\ContinuaCI-Agent\Ws\16\Source\DUnitX\Tests\DUnitXTest_XE7.dproj” (build target) (1) ->
(_CheckBuildEnvironment target) ->
C:\Program Files (x86)\Embarcadero\Studio\15.0\bin\CodeGear.Common.Targets(248,5): warning : Expected configuration file missing - C:\Users\ContinuaCI\AppData\Roaming\Embarcadero\BDS\15.0\EnvOptions.proj
"C:\Nutzer\ContinuaCI-Agent\Ws\16\Source\DUnitX\Tests\DUnitXTest_XE7.dproj" (build target) (1) ->
(_PasCoreCompile target) ->
C:\Nutzer\ContinuaCI-Agent\Ws\16\Source\DUnitX\DUnitX.TestFramework.pas(42): error F1026: Datei nicht gefunden: 'C:\Nutzer\ContinuaCI-Agent\Ws\16\Source\DUnitX\Tests<strong>$\DUnitX.Attributes.dcu’
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.62
Seems like I messed up the title. I tried to find whether I could edit the post, but I couldn’t? Maybe someone can correct it? Suggestion: “Getting F1026 from compiler with MSBuild, ContinuaCI, Delphi-Project”.
I think the blog post is missing a step, if you haven’t run the delphi IDE on the agent machine under the user account that the agent runs under, the EnvOptions.proj file will not exist. If you didn’t install delphi, ie you just copied it across (and added the requred registry entries) then you will need to manually copy that file to the correct location (and update settings in the file as required to match the machine).
Thank you! Copying the file helped. As I am trying out ContinuaCI, it was a matter of copying the file from one account to another on the same machine:
from C:\Users<myaccount>\AppData\Roaming\Embarcadero\BDS\15.0\EnvOptions.proj
to C:\Users\ContinuaCI\AppData\Roaming\Embarcadero\BDS\15.0\EnvOptions.proj