I have a big Delphi project organized like this (simplified):
Sources:
Delphi:
Project A
Project B
…
Project G
COMMON
FinalBuilder
LIB:
Lib A
Lib B
…
Lib K
So, each Project
folder contains the files (.dprog
, .pas
and .dfm
) needed for the project. The COMMON
folder contains the files (.pas
) used by more than one project. And the Lib
folders contain external resources (.pas
and .dfm
) also needed for more than one project
Then in FinalBuilder
I have my ProjectBuilder.fbp8
and Project.ini
files.
The idea is, the ProjectBuilder will ask me which project i want to compile (and some more options), and compile them - one after another.
However, there is some problem with the Library Path.
See, each Delphi Project contains the path to its needed files in Project X
and COMMON
, but not the path to the needed files in LIB
. So if I wanted to compile the Delphi project using only Delphi IDE, it won't work (until I give it the Library Path). However, I want to compile using FinalBuilder, and this particular path is given by FinalBuilder (through his .ini
file).
So, the ProjectBuilder will get all the variables needed for the Project I want to build from its .ini file, including the Library Path, and then launch a "Build Delphi" action with this Library Path correctly setted.
But, for some reason, it doesn't work: compilation fail saying it couldn't find the units which should be given by the Library path. So i guess there is somewhere a miscommunication between FinalBuilder and the Delphi Project which leads to the Delphi Project not having the Library Path (but i have no idea how this "Build Delphi" action works in details).
Maybe there's some more settings to do in FinalBuilder? Does anyone knows about it? Or it comes from the fact that those files are loaded as a Library, and not as source files?
foo in "../COMMON"
). The problem is the files who are not in COMMON but in a lot of separate folders external to the project. I'm not going to go search for them and add them one by one to each prog; it may work, but adding the path directly into Delphi would have the same effect and be really faster. My point is, I know how to add them to the Delphi project, but I'm not supposed to do this. FB8 get the Path and should give it to delphi within theBuild Delphi
action. I need to understand why it doesn't work – Ablia