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

**URL:** https://www.finalbuilder.com/forums/t/finalbuilder-5-0-0-53-not-using-unit-output-directory-under-delphi-2006/2693
**Category:** Bugs
**Created:** [November 4, 2006, 3:55am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-5-0-0-53-not-using-unit-output-directory-under-delphi-2006/2693 "2006-11-04T03:55:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [November 4, 2006, 3:55am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-5-0-0-53-not-using-unit-output-directory-under-delphi-2006/2693/1 "2006-11-04T03:55:12Z")

</div>

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?

 ![d2006.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/0/083ac49c161a5e2c9d9b2df6c6f882fc990c6992.jpeg)

 ![d2006_2.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/0/0cbf7f4103e5c83596cb9a36dd8db29205b7e311.jpeg)

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 5, 2006, 9:47am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-5-0-0-53-not-using-unit-output-directory-under-delphi-2006/2693/2 "2006-11-05T09:47:58Z")

</div>

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

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [November 6, 2006, 3:49am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-5-0-0-53-not-using-unit-output-directory-under-delphi-2006/2693/3 "2006-11-06T03:49:26Z")

</div>

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