FinalBuilder 5.0.0.53 not using "Unit output directory" under Delphi 2006

The title pretty much sums it up.

I have a Delphi 2006 win32 project and when I build it in Delphi, all the .DCU are placed in the directory I specified.

When I build from FinalBuilder, the .DCU are placed alongside their .PAS file which messes things up pretty badly since I also use previous versions of Delphi with the same source files.

I have attached pictures of the settings for the Delphi action in FB.

Both the “Starting dir” in the Project tab (picture 1) and the “Unit output directory” (picture 2) in the Directories are correct.

Is this a bug or am I doing something wrong?

The problem is that you are not providing a fully qualified path in the unit output directory field. FinalBuilder does not support relative paths. A better option would be to use FinalBuilder variables to build up the paths you need, for example , create a project variable called PROJECTROOT

PROJECTROOT= Z:_Delphi\TLNews\V1

Set Output Folder to : %PROJECTROOT%\app
Set Unit Output folder to : %PROJECTROOT%\bin_tlnews


Thank you for taking the time to answer. I’ll try this first thing Monday.