delphipackagedelphi-xe3jedijvcl

Where do I find the bpl file after I compile a package?


I want to create *.bpl file but I am failing to do so.
Specifically, I am trying to make JEDI plugins, but I have tried an empty pure Delphi package, too.

If I create a new package in Delphi XE3, I get an empty unit - if I "make" this project called "Package1.bpl", I get a .dcu file in "debug/win32/", but no .bpl file.
No error is reported by the compiler.

An empty JEDI plugin (bpl-style) only gives a .dcu, too, while an empty dll-style JEDI plugin gives a .cdu and a .dll file in "debug/win32/".

This is the first time I am trying to make a new package, so I am completely lost.
What am I missing?


Solution

  • Go to the Tools menu and navigate to Environment Options -> Delphi Options -> Library. There you find the Package Output Directory and the DCP Output Directory. These directories are the default output directories for BPLs and DCPs, so the bpl will be created if your packages is compiled, but in a different directory from what you expect.

    The JEDI plugins probably have their output directory configured otherwise in Project -> Options.