I'm working wiht a large delphi project (200+ bpls). We have all teh DCP files output to the $(Delphi)\Projects]\Bpl Directory. This path is set in the delphi environment settings. Is there a way to set a similar thing up in FinalBuilder without having the add script ot EVERY bpl compile action in FinalBuilder?
Hi Ed,
I can think of a few options here:
1) If that’s the default BPL directory for your version of delphi (it would be for D7 and earlier, right?) then leaving the DCP output directory blank should automatically build the DCPs to that directory. Nice and easy!
2) If you can afford to load all directories from the project settings file, then do that - check “Use settings from project file” and “Directories” and the DCP Output directory will be loaded from the dof/bdsproj/dproj file.
3) Create a project variable for the dcp output directory, call it (say) DCPOutput. Set the default value to the directory shown above. Then, you should be able to assign that as the DCP Output directory for each Delphi action. You can do this quickly and easily by selecting all of the Delphi actions in the project, and then switching to Action Inspector tab and typing %!DCPOutput% for the DCP Output Directory field.()
Please let us know how you go.
Regards,
Angus
() The %!% is so FinalBuilder doesn’t recursively expand the $(Delphi) part of the field.
Angus,
again thanks the great information. I chose to try option #3. I want to specify a single location for all DCP to compile to and it’s separate from the BPL output. However, after I created my varaible and I selected all of my delphi compile actions the ‘Directories’ action property section disappears. I was unable to set the DCPOutputPath for more than one action at a time.
Hi Ed,
Sorry, I forgot that you can’t edit string properties for multiple actions.
I’ll see if there’s anything we can do to fix this for a future release. In the meantime, you’ll need to edit them by hand (sorry.)
Regards,
Angus