namespace packages and releases
Mon Nov 24 10:19:47 CET 2003
On Sat, 22 Nov 2003 11:55:54 -0600, Hal Snyder <hal@REDACTED> wrote:
> Has anyone built a release involving packages?
> I get stuck building .boot and .script from .rel:
Here's a patch of systools_make.erl against OTP R9B.
It should work against the R9C version as well, but I
haven't actually verified that. The patch makes it possible
to build boot scripts even when using package semantics.
Note that the application names remain the same.
The app file would look like this:
And the code path should be set to .../lib/foo-1.0/ebin,
if you want to access the code using erl -pz ... or similar.
You can skip the quotes around module names if you're only
using OTP R9C or later, but with R9B, they have to be there.
What remains (AFAIK) is to modify erl_prim_loader.erl, but
this also involves rebuilding beam. This step is required
if you want to use embedded code loading, but otherwise,
you'll be fine with the systools_make patch.
Ulf Wiger, Senior System Architect
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2397 bytes
Desc: not available
More information about the erlang-questions