Some guide to start using trainf with Delphi?

Plan to automate release process. Theres any sample script and guide for Delphi compilers?

Best regards

Hi Donald

I use Train in all my delphi projects. In attach you can find one of my script to compile a my project.

I hope it will help you

Best Regards (1.4 KB)


Sorry for ask, but im tossing my hair with that problem.

C:\Program Files (x86)\Embarcadero\Studio\20.0\Bin\CodeGear.Delphi.Targets(402,5): error MSB6003: The specified task executable “dcc” could not be run. The filename or extension is too long

My project source tree is on network drive so I suspect that is the fault.

Moved to C: and get the same error.

Do you know wich is the reason? Msbuild fault?

I tried Delphi function of train but anyway cant find a way to compile (dcc2 fault I guess)
Seems as cannot understand the project file

Project.dproj(1) Error: E2029 Declaration expected but '<' found
Project.dproj(1) Error: E2038 Illegal character in input file: '"' (#$22)
Project.dproj(6) Error: E2038 Illegal character in input file: '"' (#$22)

Best regards

Hi Donald

can you send me your train script?

Never mind… I comment that “key line” thinking was part of your stuff, and find out is from embarcadero.


Work perfect thanks!

1 Like


I am very happy that it has been helpful

Best regards Donald!