Delphi 10 Seattle Automated Builds

I am trying to add automatic assemblies of our Delphi 10 Seattle projects to our build server (which is currently building all of our .NET and Java projects). Now that Delphi uses MSBUILD, it integrates well with TeamCity.

I can create things locally on a machine with Delphi 10 Seattle installed.

I want to run builds on the server without having to install a full IDE, if at all possible.

I followed the instructions in
this article and in this article

When starting on the server, assembly failures fail due to the following error (second line, first the build command):

[15:24:24][DCC] c:\Delphi\17.0\bin\dcc32.exe -$O- -$W+ --no-config -B -Q -TX.exe -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -E..\..\MODASMobileServer\Win32\Debug -I..\..\Source\Common;..\..\Source\Interfaces;..\..\Source\Messages;..\..\Source\Language\English;c:\Delphi\17.0\lib\Win32\Debug -NU..\..\Temp\MODASMobileServer\Win32\Debug -NSWinapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell; -O..\..\Source\Common;..\..\Source\Interfaces;..\..\Source\Messages;..\..\Source\Language\English;c:\Delphi\17.0\lib\Win32\Debug -R..\..\Source\Common;..\..\Source\Interfaces;..\..\Source\Messages;..\..\Source\Language\English;c:\Delphi\17.0\lib\Win32\Debug -U..\..\Source\Common;..\..\Source\Interfaces;..\..\Source\Messages;..\..\Source\Language\English;c:\Delphi\17.0\lib\Win32\Debug -V -VN -NO..\..\Temp\MODASMobileServer\Win32\Debug MODASMobileServer.dpr [15:24:24][DCC] This version of the product does not support command line compiling. 

It is clear that he believes that he is not properly licensed.

The BIN, BIN64, and LIB directories were copied from a fully registered and production installation.

What do I need to do to create XE10 projects on the build server without installing an IDE? Or do I need to put up with installing an IDE?

+5
source share
1 answer

I get it. Although I had what seemed like a fully functioning Delphi 10 installation, I remembered that I had originally installed it from the trial version. The test was properly licensed, so I assumed it was a pukka installation. This was not so, it is obvious that there is a certain difference between the registered trial version and the correct installation.

To solve this problem I:

  • deleted the trial version from the dev device
  • downloaded full ISO from EDN
  • full version of ISO installed on dev machine
  • license / registered installation on dev machine
  • copied via bin, bin64, lib, import, include, lib folders to C: \ Program Files (x86) \ Embarcadero \ Studio \ 17.0 \ on the build server

Re-run the assembly and it worked successfully.

+3
source

Source: https://habr.com/ru/post/1243509/


All Articles