Rebuild RO and DA libraries with train

Any chance to access the train scripts to get that rebuild?

Best regards


you can use these scripts: (8.5 KB)

for installing DA for Delphi 10.3.3 (compiling all dcu for all supported platforms), it uses these parameters:

Train.exe “-vRORoot=C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi” “-vEWRoot=C:\Program Files (x86)\RemObjects Software\Everwood” “-vDARoot=C:\Program Files (x86)\RemObjects Software\Data Abstract for Delphi” “-vEWVersion=” “-vROVersion=” “-vDAVersion=” “-vDelphi_Versions=26” “-vCBuilder_Versions=26” “-vWin32=26” “-vWin64=26” “-vOSX32=26” “-vOSX64=26” “-vLinux64=26” “-vAndroid32=26” “-vAndroid64=26” “-viOSSimulator=26” “-viOSDevice32=26” “-viOSDevice64=26” “-vFMX=26” “-vServer=1” c_DA.train “-t=C:\Program Files (x86)\RemObjects Software\Data Abstract for Delphi\log.html” “-x=C:\Program Files (x86)\RemObjects Software\Data Abstract for Delphi\log.xml”

Note: you can check actual command line during installing RO/DA setup in TaskMan or Process Explorer. setup launches train.exe when build task is selected.

1 Like


since setup uses these scripts too, would it make sense to just leave them in place/deploy them (and train) somewhere, so all users can easily find/use them, if they so desire?

@mh: We can do this. Nowadays train and his scripts are put to temporary folder and removed after installing

1 Like


1 Like

Thanks, logged as bugs://84270

Need to add UNIDAC package. Try by myself without success. Also tray to remove iOS and android packages from the command line but IDE packages fails.

you can remove “-vAndroid32=26” “-vAndroid64=26” “-viOSSimulator=26” “-viOSDevice32=26” “-viOSDevice64=26” parameters

something like

buildDADelphiPackage(_version, ‘Drivers/DataAbstract_UniDACDriver’, define, ‘System;winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde’,_platform);

you may need to adjust namespaces , i.e. System;winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde; line