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

Pharaoh picture Pharaoh · Dec 7, 2012 · Viewed 10k times · Source

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?

Pharaoh

Answer

GolezTrol picture GolezTrol · Dec 8, 2012

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.