Build Delphi projects (MSBuild action) - step by step?

Hello,

 we are currently evaluating some build tools.

 Is there a step by step tutorial how to build Delphi projects using ContinuaCI and the MSBuild action?

 My current problem: When building Delphi projects with MSBUild some env-variables have to be set (with the batchfile RSVARS.BAT from the Delphi bin folder). I have tried to execute this batchfile with a batch command action. That gave no errors but the env vars were not set for the following action so the MSBuild-action was not able to find a target inside the DPROJ-Files that i wanted to compile.

 Any hints what i can do to make the MSBuild action work with Delphi projects?

 (OK, i could do the complete build i one batch file, but then i would not need the MSBuild action - is that the solution??)

Thanks in advance,

Ralf

I have added support for setting environment varibles on the MSBuild action. It is possibel to build some versions of delphi without the environment variables, just by passing BDS as an msbuild property… but that seems to change with each version of delphi. FWIW, the ssh server in Continua is written in delphi XE2, and we gave up trying to use MSBuild with it because the delphi msbuild support is buggy as hell… so we just have continua call FinalBuilder for the delphi stuff (because FinalBuilder does delphi better than anything else out there!).

We’ll have an updated beta available later today, and I’ll post here with instructions on how to build a delphi project.