I've been putting the path to the unit (.pas) file folders of our packages into the Delphi Library path but I'm beginning to wonder if this is a mistake! Take this problem for an example:
I have two home grown packages:
- LowLevelPackage
- HighLevelPackage
HighLevelPackage uses units contained in LowLevelPackage.
If the path to both package's unit folders are in the library path then there is the chance of me building HighLevelPackage before LowLevelPackage and HighLevelPackage will implicitedly contain LowLevelPackage's units (i think?).
I'm wondering if instead I should be putting the path to the DCUs of these packages into the Library Path. And maybe putting the path to the actual source units in the Browsing Path so we can still step into them when debugging.
Does that sound right? What should really be going into the Library Path? Paths to .DCUs? .DCPs? .BPLs? or .PASs?